wok
annotate visualboyadvance/stuff/1.7.2-homedir.patch @ rev 22756
updated ffmpeg, ffmpeg-dev and ffplay (4.1.3 -> 4.2.2)
author |
Hans-G?nter Theisgen |
date |
Fri Jan 24 16:20:17 2020 +0100 (2020-01-24) |
parents |
|
children |
|
rev |
line source |
gokhlayeh@7031
|
1 --- src/sdl/SDL.cpp.orig 2004-08-15 02:43:28.232750688 -0400
|
gokhlayeh@7031
|
2 +++ src/sdl/SDL.cpp 2004-08-15 02:44:01.557684528 -0400
|
gokhlayeh@7031
|
3 @@ -887,7 +887,7 @@
|
gokhlayeh@7031
|
4
|
gokhlayeh@7031
|
5 if(home != NULL) {
|
gokhlayeh@7031
|
6 fprintf(stderr, "Searching home directory: %s\n", home);
|
gokhlayeh@7031
|
7 - sprintf(path, "%s%c%s", home, FILE_SEP, name);
|
gokhlayeh@7031
|
8 + sprintf(path, "%s%c.%s%c%s", home, FILE_SEP, EXE_NAME, FILE_SEP, name);
|
gokhlayeh@7031
|
9 f = fopen(path, "r");
|
gokhlayeh@7031
|
10 if(f != NULL)
|
gokhlayeh@7031
|
11 return f;
|