mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
For win32 builds, locate files relative to ./
This commit is contained in:
parent
8492bc7c7a
commit
48d0492338
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
|
static XP_Bool
|
||||||
editHasFocus( void )
|
editHasFocus( void )
|
||||||
{
|
{
|
||||||
|
@ -417,6 +418,7 @@ editHasFocus( void )
|
||||||
&& !wcscmp( L"Edit", buf );
|
&& !wcscmp( L"Edit", buf );
|
||||||
return isEdit;
|
return isEdit;
|
||||||
} /* editHasFocus */
|
} /* editHasFocus */
|
||||||
|
#endif
|
||||||
|
|
||||||
XP_Bool
|
XP_Bool
|
||||||
ceDoDlgHandle( CeDlgHdr* dlgHdr, UINT message, WPARAM wParam, LPARAM lParam )
|
ceDoDlgHandle( CeDlgHdr* dlgHdr, UINT message, WPARAM wParam, LPARAM lParam )
|
||||||
|
@ -773,6 +775,8 @@ lookupSpecialDir( wchar_t* bufW, XP_U16 indx )
|
||||||
XP_WARNF( "SHGetSpecialFolderPath failed" );
|
XP_WARNF( "SHGetSpecialFolderPath failed" );
|
||||||
wcscpy( bufW, L"\\My Documents" );
|
wcscpy( bufW, L"\\My Documents" );
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
wcscat( bufW, L"." );
|
||||||
#endif
|
#endif
|
||||||
if ( indx == PROGFILES_CACHE ) {
|
if ( indx == PROGFILES_CACHE ) {
|
||||||
wcscat( bufW, L"\\" LCROSSWORDS_DIR_NODBG );
|
wcscat( bufW, L"\\" LCROSSWORDS_DIR_NODBG );
|
||||||
|
|
Loading…
Add table
Reference in a new issue