GIT
/
REPO
/
FRED-BOY
Projects
/
flatwaifu.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
windows: fix build with mingw
[flatwaifu.git]
/
src
/
save.c
diff --git
a/src/save.c
b/src/save.c
index fe52cc4982c6f3985774ed8da7d7aeb2c76e1381..27534214bf681a495663bd351bb60061bcf3c056 100644
(file)
--- a/
src/save.c
+++ b/
src/save.c
@@
-538,9
+538,9
@@
static void WP_loadgame (FILE *h) {
static char *getsavfpname (int n, int ro) {
static char fn[] = "savgame0.dat";
+ static char p[100];
fn[7] = n + '0';
#ifndef WIN32
- static char p[100];
char *e = getenv("HOME");
strncpy(p, e, 60);
strcat(p, "/.flatwaifu");
DEADSOFTWARE 2012-2025