diff options
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r-- | src/test/testmain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index f5bdc5711..eb24a2c75 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -29,6 +29,7 @@ #include "utils/gettext.h" #include "utils/mkdir.h" #include "utils/stringutils.h" +#include "utils/paths.h" #include "utils/process.h" #include <iostream> @@ -43,7 +44,7 @@ TestMain::TestMain() #ifdef WIN32 fileName = "manaplus.exe"; #else - fileName = selfName; + fileName = getSelfName(); #endif log = new Logger; |