13 lines
546 B
Diff
13 lines
546 B
Diff
diff -Nru pinball-0.3.1.orig/base/Config.cpp pinball-0.3.1/base/Config.cpp
|
|
--- pinball-0.3.1.orig/base/Config.cpp 2003-11-21 08:59:09.000000000 +0100
|
|
+++ pinball-0.3.1/base/Config.cpp 2009-06-29 13:39:40.000000000 +0200
|
|
@@ -426,7 +426,7 @@
|
|
char* ptr=0;
|
|
char* ptrw = 0;
|
|
//cout<<"relative to exe file"<<endl;
|
|
- ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32
|
|
+ ptr = ((char*)strrchr(argv0,'/')); // unix /cygwin / check win32
|
|
#ifdef WIN32
|
|
ptrw = (strrchr(argv0,'\\'));
|
|
#endif //TODO: MacOS file sep ':'
|