[geany/geany] 0aee6d: Single-quote file name in the default printing command under Unix

Dimitar Zhekov git-noreply at xxxxx
Fri May 15 17:07:37 UTC 2015


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Sat, 28 Mar 2015 11:35:20 UTC
Commit:      0aee6de04586bf56e40b8588f586259582f0055b
             https://github.com/geany/geany/commit/0aee6de04586bf56e40b8588f586259582f0055b

Log Message:
-----------
Single-quote file name in the default printing command under Unix


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

Modified: src/keyfile.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -947,7 +947,7 @@ static void load_dialog_prefs(GKeyFile *config)
 	#ifdef G_OS_WIN32
 		tmp_string = g_strconcat(GEANY_DEFAULT_TOOLS_PRINTCMD, " \"%f\"", NULL);
 	#else
-		tmp_string = g_strconcat(GEANY_DEFAULT_TOOLS_PRINTCMD, " %f", NULL);
+		tmp_string = g_strconcat(GEANY_DEFAULT_TOOLS_PRINTCMD, " '%f'", NULL);
 	#endif
 	}
 	else



--------------
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