From e66180acb6b8bf6540939f617a5456b33b53f931 Mon Sep 17 00:00:00 2001 From: ehouse Date: Mon, 10 Jan 2005 01:43:26 +0000 Subject: [PATCH] make switching between armi and wins easier --- xwords4/symbian/src/symdict.cpp | 4 ++++ xwords4/symbian/src/symdraw.cpp | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/xwords4/symbian/src/symdict.cpp b/xwords4/symbian/src/symdict.cpp index 77334fb17..a45790d40 100644 --- a/xwords4/symbian/src/symdict.cpp +++ b/xwords4/symbian/src/symdict.cpp @@ -193,7 +193,11 @@ readFileToBuf( XP_UCHAR* dictBuf, const RFile* file ) DictionaryCtxt* sym_dictionary_makeL( MPFORMAL const XP_UCHAR* aDictName ) { +#if defined SYM_WINS _LIT( dir,"z:\\system\\apps\\XWORDS\\" ); +#elif defined SYM_ARMI + _LIT( dir,"c:\\system\\apps\\XWORDS\\" ); +#endif TFileName nameD; /* need the full path to name in this */ nameD.Copy( dir ); TBuf8<32> dname8(aDictName); diff --git a/xwords4/symbian/src/symdraw.cpp b/xwords4/symbian/src/symdraw.cpp index 6b841c241..4d8b18c4f 100644 --- a/xwords4/symbian/src/symdraw.cpp +++ b/xwords4/symbian/src/symdraw.cpp @@ -805,11 +805,9 @@ sym_drawctxt_make( MPFORMAL CWindowGc* aGC, CCoeEnv* aCoeEnv, #if defined DEBUG && defined SERIES_80 /* this path will change for other platforms/devices!!! */ -#if 1 - /* simulator */ +#if defined SYM_WINS _LIT( kBitmapsPath, "z:\\system\\apps\\XWORDS\\xwbitmaps.mbm" ); -#else - /* device. Why do I need this???? */ +#elif defined SYM_ARMI _LIT( kBitmapsPath, "c:\\system\\apps\\XWORDS\\xwbitmaps.mbm" ); #endif TFileName bitmapFile( kBitmapsPath );