SF.net SVN: geany:[3694] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Tue Apr 7 15:42:25 UTC 2009
Revision: 3694
http://geany.svn.sourceforge.net/geany/?rev=3694&view=rev
Author: ntrel
Date: 2009-04-07 15:42:24 +0000 (Tue, 07 Apr 2009)
Log Message:
-----------
Fix 2 old uses of filetype IDs.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/highlighting.c
trunk/src/symbols.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-07 15:28:03 UTC (rev 3693)
+++ trunk/ChangeLog 2009-04-07 15:42:24 UTC (rev 3694)
@@ -2,6 +2,8 @@
* src/editor.c:
Add Configuration Files item for snippets.conf.
+ * src/highlighting.c, src/symbols.c:
+ Fix 2 old uses of filetype IDs.
2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c 2009-04-07 15:28:03 UTC (rev 3693)
+++ trunk/src/highlighting.c 2009-04-07 15:42:24 UTC (rev 3694)
@@ -337,7 +337,7 @@
{
gint i;
- for (i = 0; i < GEANY_MAX_BUILT_IN_FILETYPES - 1; i++)
+ for (i = 0; i < GEANY_MAX_BUILT_IN_FILETYPES; i++)
{
StyleSet *style_ptr;
style_ptr = &style_sets[i];
Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c 2009-04-07 15:28:03 UTC (rev 3693)
+++ trunk/src/symbols.c 2009-04-07 15:42:24 UTC (rev 3694)
@@ -1419,7 +1419,7 @@
static void load_user_tags(filetype_id ft_id)
{
- static guchar tags_loaded[GEANY_MAX_BUILT_IN_FILETYPES - 1] = {0};
+ static guchar tags_loaded[GEANY_MAX_BUILT_IN_FILETYPES] = {0};
static GHashTable *lang_hash = NULL;
GList *fnames;
const GList *node;
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