author | mickeyl <mickeyl> | 2003-12-08 15:17:16 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-12-08 15:17:16 (UTC) |
commit | 7f2f736597490fd1592d7ed1f40e4abf824673c0 (patch) (side-by-side diff) | |
tree | 542b6f52b3556f1f4f04c18c15446c73a867ebdc /libopie | |
parent | b1182e6a5069c7109f824a916e566c9c1954ded8 (diff) | |
download | opie-7f2f736597490fd1592d7ed1f40e4abf824673c0.zip opie-7f2f736597490fd1592d7ed1f40e4abf824673c0.tar.gz opie-7f2f736597490fd1592d7ed1f40e4abf824673c0.tar.bz2 |
Rot270 is not a Direction, but a Rotation. treke, is this fix correct?
-rw-r--r-- | libopie/odevice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 5038cc9..e24e043 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -2041,3 +2041,3 @@ Transformation Zaurus::rotation ( ) const } -ODirection Zaurus::direction ( ) const +ODirection Zaurus::direction ( ) const { @@ -2050,3 +2050,3 @@ ODirection Zaurus::direction ( ) const if (handle == -1) { - dir = Rot270; + dir = CW; } else { @@ -2054,5 +2054,5 @@ ODirection Zaurus::direction ( ) const ::close (handle); - if (retval == 2 ) + if (retval == 2 ) dir = CCW; - else + else dir = CW; |