[geany/geany-plugins] 017667: TableConvert: Fix inserting of line ends

Frank Lanitz git-noreply at xxxxx
Thu May 21 08:38:08 UTC 2015


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Thu, 21 May 2015 08:38:08 UTC
Commit:      017667de9e1fb33c8a34978d6aab3704bdaca3a3
             https://github.com/geany/geany-plugins/commit/017667de9e1fb33c8a34978d6aab3704bdaca3a3

Log Message:
-----------
TableConvert: Fix inserting of line ends


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

Modified: tableconvert/src/tableconvert.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -188,7 +188,7 @@ static gchar* convert_to_table_worker(gchar **rows, gboolean header,
 			g_string_append(replacement_str, rule->lineend);
 
 			/* linesplit */
-			if (rows[i+1] != NULL && utils_str_equal(rule->linesplit, ""))
+			if (rows[i+1] != NULL && !utils_str_equal(rule->linesplit, ""))
 			{
 				g_string_append(replacement_str, rule->linesplit);
 			}



--------------
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