make switching between armi and wins easier

This commit is contained in:
ehouse 2005-01-10 01:43:26 +00:00
parent d353d1eb85
commit e66180acb6
2 changed files with 6 additions and 4 deletions

View file

@ -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);

View file

@ -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 );