[geany/geany-plugins] 4a5bd7: tableconvert: Fix incorrect return in a sanity check

Colomban Wendling git-noreply at xxxxx
Wed Dec 17 22:19:40 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Wed, 17 Dec 2014 22:19:40 UTC
Commit:      4a5bd7cc0eea10e9d5069683793be6cae06b9353
             https://github.com/geany/geany-plugins/commit/4a5bd7cc0eea10e9d5069683793be6cae06b9353

Log Message:
-----------
tableconvert: Fix incorrect return in a sanity check


Modified Paths:
--------------
    tableconvert/src/tableconvert.c

Modified: tableconvert/src/tableconvert.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -122,7 +122,7 @@ static gchar* convert_to_table_worker(gchar **rows, gboolean header,
 	doc = document_get_current();
 
 	g_return_val_if_fail(rows != NULL, NULL);
-	g_return_if_fail(rule != NULL);
+	g_return_val_if_fail(rule != NULL, NULL);
 
 	/* Adding start of table to replacement */
 	replacement_str = g_string_new(rule->start);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list