mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
For win32 builds, locate files relative to ./
This commit is contained in:
parent
93e615b44c
commit
be3863dd5a
1 changed files with 4 additions and 0 deletions
|
@ -407,6 +407,7 @@ ceDlgComboShowHide( CeDlgHdr* dlgHdr, XP_U16 baseId )
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef OVERRIDE_BACKKEY
|
||||
static XP_Bool
|
||||
editHasFocus( void )
|
||||
{
|
||||
|
@ -417,6 +418,7 @@ editHasFocus( void )
|
|||
&& !wcscmp( L"Edit", buf );
|
||||
return isEdit;
|
||||
} /* editHasFocus */
|
||||
#endif
|
||||
|
||||
XP_Bool
|
||||
ceDoDlgHandle( CeDlgHdr* dlgHdr, UINT message, WPARAM wParam, LPARAM lParam )
|
||||
|
@ -773,6 +775,8 @@ lookupSpecialDir( wchar_t* bufW, XP_U16 indx )
|
|||
XP_WARNF( "SHGetSpecialFolderPath failed" );
|
||||
wcscpy( bufW, L"\\My Documents" );
|
||||
}
|
||||
#else
|
||||
wcscat( bufW, L"." );
|
||||
#endif
|
||||
if ( indx == PROGFILES_CACHE ) {
|
||||
wcscat( bufW, L"\\" LCROSSWORDS_DIR_NODBG );
|
||||
|
|
Loading…
Reference in a new issue