Revision: 2426 http://geany.svn.sourceforge.net/geany/?rev=2426&view=rev Author: ntrel Date: 2008-03-27 11:07:43 -0700 (Thu, 27 Mar 2008)
Log Message: ----------- Fix segfault with Run command when a project is open and the current file's filetype has no run command.
Modified Paths: -------------- trunk/ChangeLog trunk/src/build.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-03-27 17:26:09 UTC (rev 2425) +++ trunk/ChangeLog 2008-03-27 18:07:43 UTC (rev 2426) @@ -16,6 +16,9 @@ Check file on disk for changes (with timeout) when pressing a key. * src/keyfile.c: Ignore documents with no absolute path when saving session files. + * src/build.c: + Fix segfault with Run command when a project is open and the current + file's filetype has no run command.
2008-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2008-03-27 17:26:09 UTC (rev 2425) +++ trunk/src/build.c 2008-03-27 18:07:43 UTC (rev 2426) @@ -1991,6 +1991,7 @@
/* save the file only if the run command uses it */ if (doc_list[idx].changed && + NZV(ft->programs->run_cmd) && /* can happen when project is open */ strstr(ft->programs->run_cmd, "%f") != NULL) document_save_file(idx, FALSE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.