Revision: 4767 http://geany.svn.sourceforge.net/geany/?rev=4767&view=rev Author: elextr Date: 2010-03-17 04:34:33 +0000 (Wed, 17 Mar 2010)
Log Message: ----------- Fix using return value without checking return status, caused incorrect sensitivity settings on build dialog.
Modified Paths: -------------- trunk/ChangeLog trunk/src/build.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-03-16 20:28:20 UTC (rev 4766) +++ trunk/ChangeLog 2010-03-17 04:34:33 UTC (rev 4767) @@ -1,3 +1,9 @@ +2010-03-17 Lex Trotman <elextr.at.gmail.dot.com> + + * src/build.c + Fix using return value without checking return status, caused + incorrect sensitivity settings on build dialog. + 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* HACKING: @@ -5,7 +11,6 @@ Add Testing section. Update Libraries section about synchronizing with other projects.
- 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2010-03-16 20:28:20 UTC (rev 4766) +++ trunk/src/build.c 2010-03-17 04:34:33 UTC (rev 4767) @@ -1842,7 +1842,7 @@ str = ""; set_build_command_entry_text(roww->entries[i], str); } - if (src > (gint)dst || (grp == GEANY_GBG_FT && (doc == NULL || doc->file_type == NULL))) + if (bc != NULL && (src > (gint)dst || (grp == GEANY_GBG_FT && (doc == NULL || doc->file_type == NULL)))) { for (i = 0; i < GEANY_BC_CMDENTRIES_COUNT; i++) gtk_widget_set_sensitive(roww->entries[i], FALSE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.