palmaskFromStrId changed

This commit is contained in:
ehouse 2004-11-05 14:37:38 +00:00
parent 2ab5ffe0d7
commit 92bcab58c7
2 changed files with 7 additions and 8 deletions

View file

@ -359,7 +359,7 @@ void palm_warnf( char* format, ... );
Boolean askPassword( PalmAppGlobals* globals, const XP_UCHAR* name,
Boolean isNew, XP_UCHAR* retbuf, XP_U16* len );
Boolean palmaskFromStrId( PalmAppGlobals* globals, XP_U16 strId,
XP_S16 titleID, XP_S16 altID );
XP_S16 titleID );
void freeSavedGamesData( MPFORMAL SavedGamesState* state );
void palm_util_requestTime( XW_UtilCtxt* uc ); /* so palmir can call */

View file

@ -165,8 +165,7 @@ savedGamesHandleEvent( EventPtr event )
Refuse if it's open. */
if ( state->displayGameIndex == *curGameIndexP ) {
beep();
} else if ( palmaskFromStrId( globals, STR_CONFIRM_DEL_GAME,
-1, -1 ) ) {
} else if ( palmaskFromStrId( globals, STR_CONFIRM_DEL_GAME, -1) ) {
XP_S16 index = state->displayGameIndex;
deleteGameRecord( globals, index );
if ( *curGameIndexP > index ) {