SF.net SVN: geany: [1657] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Mon Jul 2 18:37:18 UTC 2007
Revision: 1657
http://svn.sourceforge.net/geany/?rev=1657&view=rev
Author: eht16
Date: 2007-07-02 11:37:17 -0700 (Mon, 02 Jul 2007)
Log Message:
-----------
Fix crash when trying to open the Save As dialog on Windows.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/win32.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-07-02 17:09:48 UTC (rev 1656)
+++ trunk/ChangeLog 2007-07-02 18:37:17 UTC (rev 1657)
@@ -8,6 +8,8 @@
Remove unused LexConf.cxx.
* scintilla/LexOthers.cxx:
Highlight also space separated key value pairs.
+ * src/win32.c:
+ Fix crash when trying to open the Save As dialog on Windows.
2007-06-29 Enrico Tröger <enrico.troeger at uvena.de>
Modified: trunk/src/win32.c
===================================================================
--- trunk/src/win32.c 2007-07-02 17:09:48 UTC (rev 1656)
+++ trunk/src/win32.c 2007-07-02 18:37:17 UTC (rev 1657)
@@ -60,14 +60,14 @@
GString *all_patterns = g_string_sized_new(100);
gchar *tmp;
- for (i = 0; filetypes[i] != NULL; i++)
+ for (i = 0; i < GEANY_MAX_FILE_TYPES; i++)
{
tmp = g_strjoinv(";", filetypes[i]->pattern);
g_string_append_printf(str, "%s\t%s\t", filetypes[i]->title, tmp);
g_free(tmp);
}
// create meta file filter "All Source"
- for (i = 0; filetypes[i] != NULL; i++)
+ for (i = 0; i < GEANY_MAX_FILE_TYPES; i++)
{
for (j = 0; filetypes[i]->pattern[j] != NULL; j++)
{
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