Fix returning a boolean in a function returning a pointer (oops)

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5872 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Colomban Wendling 2011-07-28 17:59:40 +00:00
parent 44e5687e0b
commit c26cd608b7

View File

@ -77,7 +77,7 @@ static gchar *read_file(const gchar *locale_fname)
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);