Kaydet (Commit) 57aaf35b authored tarafından Lex Trotman's avatar Lex Trotman

Fix using return value without checking return status, caused

   incorrect sensitivity settings on build dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4767 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 2f43a0b7
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:
......
......@@ -1842,7 +1842,7 @@ static RowWidgets *build_add_dialog_row(GeanyDocument *doc, GtkTable *table, gin
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment