forgot to save before commiting....

This commit is contained in:
ehouse 2006-04-19 04:57:51 +00:00
parent 5a8c1ef2af
commit b5843a5486
3 changed files with 1 additions and 13 deletions

View file

@ -602,17 +602,6 @@ locateOneDir( MPFORMAL wchar_t* path, OnePathCB cb, void* ctxt, XP_U16 nSought,
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;
}

View file

@ -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 */

View file

@ -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" );