diff options
Diffstat (limited to 'client')
-rwxr-xr-x | client/ug-client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/ug-client.c b/client/ug-client.c index 11f385f..5ed81e9 100755 --- a/client/ug-client.c +++ b/client/ug-client.c @@ -235,14 +235,14 @@ static int app_create(void *data) lang_changed(ad); - if (appcore_get_rotation_state(&rm) == 0) - rotate(rm, ad); - appcore_set_rotation_cb(rotate, ad); appcore_set_event_callback(APPCORE_EVENT_LOW_MEMORY, low_memory, ad); appcore_set_event_callback(APPCORE_EVENT_LOW_BATTERY, low_battery, ad); appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, lang_changed, ad); + if (appcore_get_rotation_state(&rm) == 0) + rotate(rm, ad); + return 0; } |