Revision: 3413 http://geany.svn.sourceforge.net/geany/?rev=3413&view=rev Author: eht16 Date: 2008-12-21 20:09:29 +0000 (Sun, 21 Dec 2008)
Log Message: ----------- Avoid compiler warning.
Modified Paths: -------------- trunk/src/editor.c
Modified: trunk/src/editor.c =================================================================== --- trunk/src/editor.c 2008-12-21 20:09:08 UTC (rev 3412) +++ trunk/src/editor.c 2008-12-21 20:09:29 UTC (rev 3413) @@ -223,7 +223,7 @@ editor_find_current_word(editor, editor_info.click_pos, current_word, sizeof current_word, NULL);
- can_goto = sci_has_selection(editor->sci) || NZV(current_word); + can_goto = sci_has_selection(editor->sci) || current_word[0] != '\0'; ui_update_popup_goto_items(can_goto); ui_update_popup_copy_items(doc); ui_update_insert_include_item(doc, 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.