mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +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
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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" );
|
||||
|
|
Loading…
Add table
Reference in a new issue