diff options
Diffstat (limited to 'navit/main.c')
-rw-r--r-- | navit/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/main.c b/navit/main.c index 32976b109..8857cdfc6 100644 --- a/navit/main.c +++ b/navit/main.c @@ -71,7 +71,7 @@ static gchar *get_home_directory(void) if (!homedir) { dbg(0,"Could not find home directory. Using current directory as home directory.\n"); - homedir = "."; + homedir =g_strdup("."); } else { homedir=g_strdup(homedir); } |