SF.net SVN: geany:[3321] trunk/src/editor.c

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Dec 5 12:11:32 UTC 2008


Revision: 3321
          http://geany.svn.sourceforge.net/geany/?rev=3321&view=rev
Author:   eht16
Date:     2008-12-05 12:11:32 +0000 (Fri, 05 Dec 2008)

Log Message:
-----------
Fix missing initialisation.

Modified Paths:
--------------
    trunk/src/editor.c

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2008-12-04 20:28:40 UTC (rev 3320)
+++ trunk/src/editor.c	2008-12-05 12:11:32 UTC (rev 3321)
@@ -1009,7 +1009,7 @@
 
 static void auto_close_chars(ScintillaObject *sci, gint pos, gchar c)
 {
-	const gchar *closing_char;
+	const gchar *closing_char = NULL;
 
 	if ((editor_prefs.autoclose_chars & GEANY_AC_PARENTHESIS) && c == '(')
 	{


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