From be3863dd5af8a16bcd72ef8696db55529b619452 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 2 Nov 2008 04:15:10 +0000 Subject: [PATCH] For win32 builds, locate files relative to ./ --- xwords4/wince/ceutil.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xwords4/wince/ceutil.c b/xwords4/wince/ceutil.c index 65ae3447e..8d951a4f3 100755 --- a/xwords4/wince/ceutil.c +++ b/xwords4/wince/ceutil.c @@ -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 );