author | kergoth <kergoth> | 2003-01-26 03:30:49 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-01-26 03:30:49 (UTC) |
commit | 77af78cf44026f52cc119a16554749daefc59617 (patch) (unidiff) | |
tree | 8b2afa79b4efa5a1b0f0e4d5a488796067d904a1 /core/launcher/main.cpp | |
parent | 7efc361470c6c91eb06ae7e800bb64aa645f6f73 (diff) | |
download | opie-77af78cf44026f52cc119a16554749daefc59617.zip opie-77af78cf44026f52cc119a16554749daefc59617.tar.gz opie-77af78cf44026f52cc119a16554749daefc59617.tar.bz2 |
Undo unintentional commit
-rw-r--r-- | core/launcher/main.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp index 1e5eb46..49b41d6 100644 --- a/core/launcher/main.cpp +++ b/core/launcher/main.cpp | |||
@@ -68,3 +68,2 @@ void initEnvironment( ) | |||
68 | setenv( "LANG", lang, 1 ); | 68 | setenv( "LANG", lang, 1 ); |
69 | |||
70 | } | 69 | } |
@@ -74,4 +73,2 @@ int initApplication( int argc, char ** argv ) | |||
74 | { | 73 | { |
75 | struct ODevice *odev = ODevice::inst(); | ||
76 | |||
77 | initEnvironment( ); | 74 | initEnvironment( ); |
@@ -86,16 +83,3 @@ int initApplication( int argc, char ** argv ) | |||
86 | 83 | ||
87 | int rot; | 84 | ODevice::inst ( )-> setSoftSuspend ( true ); |
88 | switch ( odev-> rotation( ) ) { | ||
89 | case None: | ||
90 | rot = 0; | ||
91 | case Rot90: | ||
92 | rot = 90; | ||
93 | case Rot180: | ||
94 | rot = 180; | ||
95 | case Rot270: | ||
96 | rot = 270; | ||
97 | } | ||
98 | a.setDefaultRotation( rot ); | ||
99 | |||
100 | odev-> setSoftSuspend ( true ); | ||
101 | 85 | ||
@@ -142,3 +126,3 @@ int initApplication( int argc, char ** argv ) | |||
142 | 126 | ||
143 | odev-> setSoftSuspend ( false ); | 127 | ODevice::inst ( )-> setSoftSuspend ( false ); |
144 | 128 | ||