summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os2.c1
-rw-r--r--unix.c1
-rw-r--r--variables.h1
-rw-r--r--win32.c1
4 files changed, 3 insertions, 1 deletions
diff --git a/os2.c b/os2.c
index 03cbbc5cb..c66df09ee 100644
--- a/os2.c
+++ b/os2.c
@@ -330,6 +330,7 @@ void FiosFreeSavegameList()
// Browse to
char *FiosBrowseTo(const FiosItem *item)
{
+ static char str_buffr[512];
char *path = _fios_path;
char *s;
diff --git a/unix.c b/unix.c
index 328062937..d49743581 100644
--- a/unix.c
+++ b/unix.c
@@ -254,6 +254,7 @@ void FiosFreeSavegameList(void)
// Browse to
char *FiosBrowseTo(const FiosItem *item)
{
+ static char str_buffr[512];
char *path = _fios_path;
char *s;
diff --git a/variables.h b/variables.h
index 19e96d428..ef0ff1ad1 100644
--- a/variables.h
+++ b/variables.h
@@ -431,7 +431,6 @@ extern const byte _airport_size_x[5];
extern const byte _airport_size_y[5];
/* misc */
-VARDEF char str_buffr[512];
VARDEF char _screenshot_name[128];
#define USERSTRING_LEN 128
VARDEF char _userstring[USERSTRING_LEN];
diff --git a/win32.c b/win32.c
index a8a1bb1ce..788d7271f 100644
--- a/win32.c
+++ b/win32.c
@@ -1731,6 +1731,7 @@ void FiosFreeSavegameList(void)
// Browse to
char *FiosBrowseTo(const FiosItem *item)
{
+ static char str_buffr[512];
char *path = _fios_path;
char *s;