diff --git a/xwords4/wince/cedict.c b/xwords4/wince/cedict.c index 04632641d..8ee88cd6f 100755 --- a/xwords4/wince/cedict.c +++ b/xwords4/wince/cedict.c @@ -601,17 +601,6 @@ locateOneDir( MPFORMAL wchar_t* path, OnePathCB cb, void* ctxt, XP_U16 nSought, if ( !(*cb)( path, (*nFoundP)++, ctxt ) ) { break; } - -/* len = startLen + wcslen( data.cFileName ) + 1; */ -/* WideCharToMultiByte( CP_ACP, 0, path, startLen, */ -/* buf, startLen, NULL, NULL ); */ -/* WideCharToMultiByte( CP_ACP, 0, data.cFileName, -1, */ -/* buf + startLen, len - startLen, */ -/* NULL, NULL ); */ - -/* if ( !(*cb)( buf, (*nFoundP)++, ctxt ) ) { */ -/* break; */ -/* } */ if ( *nFoundP == nSought ) { break; diff --git a/xwords4/wince/ceginfo.h b/xwords4/wince/ceginfo.h index e87a6ed8e..d6682c21f 100755 --- a/xwords4/wince/ceginfo.h +++ b/xwords4/wince/ceginfo.h @@ -28,7 +28,7 @@ typedef struct GameInfoState { CEAppGlobals* globals; HWND hDlg; - XP_UCHAR newDictName[CE_MAX_PATH_LEN]; + XP_UCHAR newDictName[CE_MAX_PATH_LEN+1]; XP_Bool isNewGame; /* newGame or GameInfo */ XP_Bool userCancelled; /* OUT param */ diff --git a/xwords4/wince/cemain.c b/xwords4/wince/cemain.c index f807baf20..36f143fce 100755 --- a/xwords4/wince/cemain.c +++ b/xwords4/wince/cemain.c @@ -970,7 +970,6 @@ InitInstance(HINSTANCE hInstance, int nCmdShow) /* choose one. If none found it's an error. */ #ifndef STUBBED_DICT result = 1 == ceLocateNDicts(MPPARM(mpool) 1, ceSetDictName, globals ); -/* result = 1 == ceLocateNDicts(MPPARM(mpool) &globals->gameInfo.dictName, 1); */ if ( !result ) { messageBoxChar( globals, "Please install at least one Crosswords " "dictionary.", L"Fatal error" );