diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/config-manager.cpp | 3 | ||||
-rw-r--r-- | common/list.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp index 128db8035b..ee49a4babf 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -109,7 +109,8 @@ void ConfigManager::loadDefaultConfigFile() { #elif defined(__PSP__) strcpy(configFile, "ms0:/" DEFAULT_CONFIG_FILE); #elif defined (__SYMBIAN32__) - strcpy(configFile, SYMBIAN32_DOC_DIR DEFAULT_CONFIG_FILE); + strcpy(configFile, Symbian::GetExecutablePath()); + strcat(configFile, DEFAULT_CONFIG_FILE); #else strcpy(configFile, DEFAULT_CONFIG_FILE); #endif diff --git a/common/list.h b/common/list.h index 8fb59a12a9..6d93636798 100644 --- a/common/list.h +++ b/common/list.h @@ -55,7 +55,7 @@ public: friend class List<T>; NodeBase *_node; -#ifndef PALMOS_MODE +#if !defined (PALMOS_MODE) && !defined (__WINSCW__) explicit Iterator<T2>(NodeBase *node) : _node(node) {} #else Iterator<T2>(NodeBase *node) : _node(node) {} @@ -72,7 +72,7 @@ public: } // Postfix inc Iterator<T2> operator++(int) { -#ifndef PALMOS_MODE +#if !defined (PALMOS_MODE) && !defined (__SYMBIAN32__) Iterator<T2> tmp(_node); #else Iterator tmp(_node); |