[geany/geany] 8b0990: Fix relative project base path when creating a new project

Colomban Wendling git-noreply at xxxxx
Tue Aug 12 14:42:50 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 12 Aug 2014 14:42:50 UTC
Commit:      8b0990e52a1c2bfaf8678d4e14fb18a256618ddb
             https://github.com/geany/geany/commit/8b0990e52a1c2bfaf8678d4e14fb18a256618ddb

Log Message:
-----------
Fix relative project base path when creating a new project

Closes #1062.


Modified Paths:
--------------
    src/project.c

Modified: src/project.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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);
 		}
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list