mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
Change state icon even when not doing work to get it to show up (unconnected) earlier.
This commit is contained in:
parent
0d5543b28f
commit
e4b01a514b
1 changed files with 2 additions and 2 deletions
|
@ -288,7 +288,7 @@ palm_bt_doWork( PalmAppGlobals* globals, BtCbEvtProc proc, BtUIState* btUIStateP
|
||||||
if ( haveWork ) {
|
if ( haveWork ) {
|
||||||
pbt_do_work( btStuff, proc );
|
pbt_do_work( btStuff, proc );
|
||||||
}
|
}
|
||||||
if ( haveWork && !!btStuff && !!btUIStateP ) {
|
if ( !!btStuff && !!btUIStateP ) {
|
||||||
BtUIState btUIState = BTUI_NONE; /* default */
|
BtUIState btUIState = BTUI_NONE; /* default */
|
||||||
switch( GET_STATE(btStuff) ) {
|
switch( GET_STATE(btStuff) ) {
|
||||||
case PBTST_NONE:
|
case PBTST_NONE:
|
||||||
|
@ -308,7 +308,7 @@ palm_bt_doWork( PalmAppGlobals* globals, BtCbEvtProc proc, BtUIState* btUIStateP
|
||||||
BTUI_SERVING : BTUI_CONNECTED;
|
BTUI_SERVING : BTUI_CONNECTED;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
XP_ASSERT(0); /* Don't add new stated without handling here */
|
XP_ASSERT(0); /* Don't add new states without handling here */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
*btUIStateP = btUIState;
|
*btUIStateP = btUIState;
|
||||||
|
|
Loading…
Reference in a new issue