mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
palmaskFromStrId changed
This commit is contained in:
parent
2ab5ffe0d7
commit
92bcab58c7
2 changed files with 7 additions and 8 deletions
|
@ -359,7 +359,7 @@ void palm_warnf( char* format, ... );
|
||||||
Boolean askPassword( PalmAppGlobals* globals, const XP_UCHAR* name,
|
Boolean askPassword( PalmAppGlobals* globals, const XP_UCHAR* name,
|
||||||
Boolean isNew, XP_UCHAR* retbuf, XP_U16* len );
|
Boolean isNew, XP_UCHAR* retbuf, XP_U16* len );
|
||||||
Boolean palmaskFromStrId( PalmAppGlobals* globals, XP_U16 strId,
|
Boolean palmaskFromStrId( PalmAppGlobals* globals, XP_U16 strId,
|
||||||
XP_S16 titleID, XP_S16 altID );
|
XP_S16 titleID );
|
||||||
void freeSavedGamesData( MPFORMAL SavedGamesState* state );
|
void freeSavedGamesData( MPFORMAL SavedGamesState* state );
|
||||||
|
|
||||||
void palm_util_requestTime( XW_UtilCtxt* uc ); /* so palmir can call */
|
void palm_util_requestTime( XW_UtilCtxt* uc ); /* so palmir can call */
|
||||||
|
|
|
@ -165,8 +165,7 @@ savedGamesHandleEvent( EventPtr event )
|
||||||
Refuse if it's open. */
|
Refuse if it's open. */
|
||||||
if ( state->displayGameIndex == *curGameIndexP ) {
|
if ( state->displayGameIndex == *curGameIndexP ) {
|
||||||
beep();
|
beep();
|
||||||
} else if ( palmaskFromStrId( globals, STR_CONFIRM_DEL_GAME,
|
} else if ( palmaskFromStrId( globals, STR_CONFIRM_DEL_GAME, -1) ) {
|
||||||
-1, -1 ) ) {
|
|
||||||
XP_S16 index = state->displayGameIndex;
|
XP_S16 index = state->displayGameIndex;
|
||||||
deleteGameRecord( globals, index );
|
deleteGameRecord( globals, index );
|
||||||
if ( *curGameIndexP > index ) {
|
if ( *curGameIndexP > index ) {
|
||||||
|
|
Loading…
Reference in a new issue