mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-15 07:41:09 -08:00
Fix a thinko in fileio.c
* src/fileio.c (get_homedir): Fix last change. Suggested by Paul Eggert <eggert@cs.ucla.edu>.
This commit is contained in:
parent
f561c6a112
commit
fb2514f3e2
1 changed files with 1 additions and 1 deletions
|
|
@ -1663,7 +1663,7 @@ get_homedir (void)
|
|||
/* getpw* functions return UTF-8 encoded file names, whereas egetenv
|
||||
returns strings in locale encoding, so we need to convert for
|
||||
consistency. */
|
||||
char homedir_utf8[MAX_UTF8_PATH];
|
||||
static char homedir_utf8[MAX_UTF8_PATH];
|
||||
if (home)
|
||||
{
|
||||
filename_from_ansi (home, homedir_utf8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue