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

This commit is contained in:
Dimitar Zhekov 2015-03-28 13:35:20 +02:00
parent 44dc8a1c2e
commit 0aee6de045

View File

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