# HG changeset patch # User Mychaela Falconia # Date 1603232076 0 # Node ID eabd1ac0fdb7ee6057093d24e2e35cfdaa0dd15b # Parent eca2202f630f7c13c0e69db0f31b82b581562534 src/ui/bmi/mmiIdle.c: more formatting fixes diff -r eca2202f630f -r eabd1ac0fdb7 src/ui/bmi/mmiIdle.c --- a/src/ui/bmi/mmiIdle.c Tue Oct 20 20:52:17 2020 +0000 +++ b/src/ui/bmi/mmiIdle.c Tue Oct 20 22:14:36 2020 +0000 @@ -948,7 +948,7 @@ //x0pleela 11 Apr, 2006 ER: OMAPS00075178 //Delete the timer of battery charging - if (battery_charging_animate) + if (battery_charging_animate) { timStop(battery_charging_animate); timDelete(battery_charging_animate); @@ -1054,8 +1054,8 @@ win->user = (void *) data; /* - * Create any other handler - */ + * Create any other handler + */ data->kbd = kbd_create (data->win,KEY_ALL|KEY_MAKE,(T_MFW_CB)idle_kbd_cb); data->kbd_long = kbd_create (data->win,KEY_ALL|KEY_LONG,(T_MFW_CB)idle_kbd_long_cb); @@ -1090,9 +1090,9 @@ idle_data.sms_status_edt = NULL; #endif /* NEW_EDITOR */ -/* - * In the new design the are created and automatically shown. - */ + /* + * In the new design the are created and automatically shown. + */ winShow(data->win); data->search=FALSE; @@ -1120,9 +1120,9 @@ mfwSetSatIdle(data->win); /* - * return window handle - */ - return data->win; + * return window handle + */ + return data->win; } @@ -1194,7 +1194,7 @@ /* * This function is called by the SEND_EVENT macro, when the parameter win is the idle window. the different events * come from another mmi modules. - */ + */ TRACE_FUNCTION ("idle()"); @@ -1250,7 +1250,7 @@ else windowsUpdate(); } - break; + break; case IDLE_NEW_SMS: // show the info about incoming sms on the idle screen @@ -1260,7 +1260,8 @@ windowsUpdate(); else if (idle_data.klck_win != NULL) SEND_EVENT(idle_data.klck_win,IDLE_NEW_SMS,0,0); - break; + break; + case IDLE_ACTIVE_KEY_PAD_LOCKED: idle_data.klck_win = idle_key_pad_locked_create(win); windowsUpdate(); @@ -1485,12 +1486,9 @@ if ((lenId > 0 ) && (lenStr >0)) { #ifndef LSCREEN - txtSpace=" "; - #else txtSpace=" "; - #endif lenSpace = dspl_GetTextExtent( txtSpace, 0); }