summaryrefslogtreecommitdiff
path: root/packages/libopie/libopie2/h4000_and_default_rot.patch
blob: c10160d0b892c9a6d07a0aa8a7b4c2cdbce142c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- libopie2/opiecore/device/odevice_ipaq.cpp.org	2007-09-09 02:44:41.000000000 +0300
+++ libopie2/opiecore/device/odevice_ipaq.cpp	2007-11-09 12:01:56.000000000 +0200
@@ -178,6 +178,10 @@
         d->m_model = Model_iPAQ_HX4700;
     else if ( d->m_modelstr == "H4000" )
         d->m_model = Model_iPAQ_H4xxx;
+    else if ( d->m_modelstr == "H4100" )
+        d->m_model = Model_iPAQ_H4xxx;
+    else if ( d->m_modelstr == "H4300" )
+        d->m_model = Model_iPAQ_H4xxx;
 
     else
         d->m_model = Model_Unknown;
@@ -198,8 +202,10 @@
         case Model_iPAQ_H36xx:
         case Model_iPAQ_H37xx:
         case Model_iPAQ_H39xx:
-        default:
             d->m_rotation = Rot270;
+	    break;
+        default:
+            d->m_rotation = Rot0;
             break;
 
         }