mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
forgot to save before commiting....
This commit is contained in:
parent
5a8c1ef2af
commit
b5843a5486
3 changed files with 1 additions and 13 deletions
|
@ -602,17 +602,6 @@ locateOneDir( MPFORMAL wchar_t* path, OnePathCB cb, void* ctxt, XP_U16 nSought,
|
||||||
break;
|
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 ) {
|
if ( *nFoundP == nSought ) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
typedef struct GameInfoState {
|
typedef struct GameInfoState {
|
||||||
CEAppGlobals* globals;
|
CEAppGlobals* globals;
|
||||||
HWND hDlg;
|
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 isNewGame; /* newGame or GameInfo */
|
||||||
XP_Bool userCancelled; /* OUT param */
|
XP_Bool userCancelled; /* OUT param */
|
||||||
|
|
|
@ -970,7 +970,6 @@ InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||||
/* choose one. If none found it's an error. */
|
/* choose one. If none found it's an error. */
|
||||||
#ifndef STUBBED_DICT
|
#ifndef STUBBED_DICT
|
||||||
result = 1 == ceLocateNDicts(MPPARM(mpool) 1, ceSetDictName, globals );
|
result = 1 == ceLocateNDicts(MPPARM(mpool) 1, ceSetDictName, globals );
|
||||||
/* result = 1 == ceLocateNDicts(MPPARM(mpool) &globals->gameInfo.dictName, 1); */
|
|
||||||
if ( !result ) {
|
if ( !result ) {
|
||||||
messageBoxChar( globals, "Please install at least one Crosswords "
|
messageBoxChar( globals, "Please install at least one Crosswords "
|
||||||
"dictionary.", L"Fatal error" );
|
"dictionary.", L"Fatal error" );
|
||||||
|
|
Loading…
Add table
Reference in a new issue