Revision: 3879 http://geany.svn.sourceforge.net/geany/?rev=3879&view=rev Author: eht16 Date: 2009-06-20 16:52:44 +0000 (Sat, 20 Jun 2009)
Log Message: ----------- Fix LaTeX view commands on Windows (part of #2807688).
Modified Paths: -------------- trunk/ChangeLog trunk/src/build.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-06-20 16:52:30 UTC (rev 3878) +++ trunk/ChangeLog 2009-06-20 16:52:44 UTC (rev 3879) @@ -16,6 +16,8 @@ Avoid using deprecated GTK API. * src/log.c, src/main.c: Properly clean up the logging mechanism. + * src/build.c: + Fix LaTeX view commands on Windows (part of #2807688).
2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2009-06-20 16:52:30 UTC (rev 3878) +++ trunk/src/build.c 2009-06-20 16:52:44 UTC (rev 3879) @@ -252,11 +252,11 @@ if (strstr(argv[0], "cmd.exe") != NULL) { argv[term_argv_len ] = g_strdup("/Q /C"); - argv[term_argv_len + 1] = g_strconcat("/bin/sh ", RUN_SCRIPT_CMD, NULL); + argv[term_argv_len + 1] = g_strdup(RUN_SCRIPT_CMD); } else { - argv[term_argv_len ] = g_strconcat("/bin/sh ", RUN_SCRIPT_CMD, NULL); + argv[term_argv_len ] = g_strdup(RUN_SCRIPT_CMD); argv[term_argv_len + 1] = NULL; } #else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.