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 ) {
|
||||
pbt_do_work( btStuff, proc );
|
||||
}
|
||||
if ( haveWork && !!btStuff && !!btUIStateP ) {
|
||||
if ( !!btStuff && !!btUIStateP ) {
|
||||
BtUIState btUIState = BTUI_NONE; /* default */
|
||||
switch( GET_STATE(btStuff) ) {
|
||||
case PBTST_NONE:
|
||||
|
@ -308,7 +308,7 @@ palm_bt_doWork( PalmAppGlobals* globals, BtCbEvtProc proc, BtUIState* btUIStateP
|
|||
BTUI_SERVING : BTUI_CONNECTED;
|
||||
break;
|
||||
default:
|
||||
XP_ASSERT(0); /* Don't add new stated without handling here */
|
||||
XP_ASSERT(0); /* Don't add new states without handling here */
|
||||
break;
|
||||
}
|
||||
*btUIStateP = btUIState;
|
||||
|
|
Loading…
Reference in a new issue