SF.net SVN: geany:[5872] trunk/src/templates.c

colombanw at users.sourceforge.net colombanw at xxxxx
Thu Jul 28 17:59:40 UTC 2011


Revision: 5872
          http://geany.svn.sourceforge.net/geany/?rev=5872&view=rev
Author:   colombanw
Date:     2011-07-28 17:59:40 +0000 (Thu, 28 Jul 2011)

Log Message:
-----------
Fix returning a boolean in a function returning a pointer (oops)

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

Modified: trunk/src/templates.c
===================================================================
--- trunk/src/templates.c	2011-07-28 17:59:22 UTC (rev 5871)
+++ trunk/src/templates.c	2011-07-28 17:59:40 UTC (rev 5872)
@@ -77,7 +77,7 @@
 		ui_set_statusbar(TRUE, _("Failed to convert template file \"%s\" to UTF-8"), utf8_fname);
 		g_free(utf8_fname);
 		g_free(contents);
-		return FALSE;
+		return NULL;
 	}
 
 	str = g_string_new(contents);


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