wok-6.x view visualboyadvance/stuff/1.7.2-homedir.patch @ rev 20318
revert back to v4.4,since glib +gtk error :-( probably v4.6.3 would work, but cannot find it on dev server
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun May 20 11:19:35 2018 +0000 (2018-05-20) |
parents | |
children |
line source
1 --- src/sdl/SDL.cpp.orig 2004-08-15 02:43:28.232750688 -0400
2 +++ src/sdl/SDL.cpp 2004-08-15 02:44:01.557684528 -0400
3 @@ -887,7 +887,7 @@
5 if(home != NULL) {
6 fprintf(stderr, "Searching home directory: %s\n", home);
7 - sprintf(path, "%s%c%s", home, FILE_SEP, name);
8 + sprintf(path, "%s%c.%s%c%s", home, FILE_SEP, EXE_NAME, FILE_SEP, name);
9 f = fopen(path, "r");
10 if(f != NULL)
11 return f;