From 8b0990e52a1c2bfaf8678d4e14fb18a256618ddb Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Tue, 12 Aug 2014 16:38:42 +0200 Subject: [PATCH] Fix relative project base path when creating a new project Closes #1062. --- src/project.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project.c b/src/project.c index 547ac70ba..5ae97edde 100644 --- a/src/project.c +++ b/src/project.c @@ -680,7 +680,7 @@ static gboolean update_config(const PropertyDialogElements *e, gboolean new_proj if (! g_path_is_absolute(locale_path)) { /* relative base path, so add base dir of project file name */ gchar *dir = g_path_get_dirname(locale_filename); - SETPTR(locale_path, g_strconcat(dir, locale_path, NULL)); + SETPTR(locale_path, g_build_filename(dir, locale_path, NULL)); g_free(dir); } -- 2.11.4.GIT