From 3a8fd73d96828be6418cf294fb983f9bd4fb9c34 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 12 Feb 2005 03:01:13 +0000 Subject: [PATCH] change loc for file search --- symbian/src/symdict.cpp | 4 ++-- symbian/src/symdraw.cpp | 6 ++++-- symbian/src/xwappview.cpp | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/symbian/src/symdict.cpp b/symbian/src/symdict.cpp index 45dbc9b1b..2251f7583 100644 --- a/symbian/src/symdict.cpp +++ b/symbian/src/symdict.cpp @@ -202,9 +202,9 @@ sym_dictionary_makeL( MPFORMAL const XP_UCHAR* aDictName ) } else { #if defined __WINS__ - _LIT( dir,"z:\\system\\apps\\XWORDS\\" ); + _LIT( dir,"z:\\system\\apps\\" XWORDS_DIR "\\" ); #elif defined __MARM__ - _LIT( dir,"c:\\system\\apps\\XWORDS\\" ); + _LIT( dir,"c:\\system\\apps\\" XWORDS_DIR "\\" ); #endif TFileName nameD; /* need the full path to name in this */ nameD.Copy( dir ); diff --git a/symbian/src/symdraw.cpp b/symbian/src/symdraw.cpp index 402e737c9..37d6a9a40 100644 --- a/symbian/src/symdraw.cpp +++ b/symbian/src/symdraw.cpp @@ -808,9 +808,11 @@ sym_drawctxt_make( MPFORMAL CWindowGc* aGC, CCoeEnv* aCoeEnv, /* this path will change for other platforms/devices!!! */ #if defined __WINS__ - _LIT( kBitmapsPath, "z:\\system\\apps\\XWORDS\\xwords.mbm" ); + _LIT( kBitmapsPath, "z:\\system\\apps\\" XWORDS_DIR + "\\" XWORDS_DIR ".mbm" ); #elif defined __MARM__ - _LIT( kBitmapsPath, "c:\\system\\apps\\XWORDS\\xwords.mbm" ); + _LIT( kBitmapsPath, "c:\\system\\apps\\" XWORDS_DIR + "\\" XWORDS_DIR ".mbm" ); #endif TFileName bitmapFile( kBitmapsPath ); diff --git a/symbian/src/xwappview.cpp b/symbian/src/xwappview.cpp index c4dbd5524..e43595bde 100644 --- a/symbian/src/xwappview.cpp +++ b/symbian/src/xwappview.cpp @@ -919,7 +919,7 @@ CXWordsAppView::GetXwordsRWDir( TFileName* aPathRef, TDriveReason aWhy ) break; /* don't want a drive */ } - _LIT( dir,"\\system\\apps\\XWORDS\\" ); + _LIT( dir,"\\system\\apps\\" XWORDS_DIR "\\" ); aPathRef->Append( dir ); } /* GetXwordsRWDir */