aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 59446ac1833..d9795715f9e 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1663,7 +1663,7 @@ get_homedir (void)
1663 /* getpw* functions return UTF-8 encoded file names, whereas egetenv 1663 /* getpw* functions return UTF-8 encoded file names, whereas egetenv
1664 returns strings in locale encoding, so we need to convert for 1664 returns strings in locale encoding, so we need to convert for
1665 consistency. */ 1665 consistency. */
1666 char homedir_utf8[MAX_UTF8_PATH]; 1666 static char homedir_utf8[MAX_UTF8_PATH];
1667 if (home) 1667 if (home)
1668 { 1668 {
1669 filename_from_ansi (home, homedir_utf8); 1669 filename_from_ansi (home, homedir_utf8);