SF.net SVN: geany:[3701] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed Apr 8 12:42:56 UTC 2009
Revision: 3701
http://geany.svn.sourceforge.net/geany/?rev=3701&view=rev
Author: ntrel
Date: 2009-04-08 12:42:55 +0000 (Wed, 08 Apr 2009)
Log Message:
-----------
Fix autocompletion.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-08 12:25:47 UTC (rev 3700)
+++ trunk/ChangeLog 2009-04-08 12:42:55 UTC (rev 3701)
@@ -4,6 +4,8 @@
Sort Configuration Files menu.
Add ui_menu_sort_by_label().
Add foreach_list() macro.
+ * src/editor.c:
+ Fix autocompletion.
2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2009-04-08 12:25:47 UTC (rev 3700)
+++ trunk/src/editor.c 2009-04-08 12:42:55 UTC (rev 3701)
@@ -1625,7 +1625,7 @@
g_return_val_if_fail(G_LIKELY(editor != NULL), FALSE);
- if (G_UNLIKELY(editor->document->file_type != NULL))
+ if (G_UNLIKELY(editor->document->file_type == NULL))
return FALSE;
/* If we are at the beginning of the document, we skip autocompletion as we can't determine the
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list