Revision: 1422 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1422&view=re... Author: frlan Date: 2010-06-03 21:24:51 +0000 (Thu, 03 Jun 2010)
Log Message: ----------- GeanyLaTeX: Fix an issue on inserting a bibtex entry
Modified Paths: -------------- trunk/geany-plugins/geanylatex/src/bibtex.c trunk/geanylatex/src/bibtex.c
Modified: trunk/geany-plugins/geanylatex/src/bibtex.c =================================================================== --- trunk/geany-plugins/geanylatex/src/bibtex.c 2010-06-03 21:24:19 UTC (rev 1421) +++ trunk/geany-plugins/geanylatex/src/bibtex.c 2010-06-03 21:24:51 UTC (rev 1422) @@ -148,7 +148,7 @@ if (utils_str_equal(g_ptr_array_index (entry, i), "\0")) { g_string_append(output, glatex_label_entry_keywords[i]); - g_string_append(output," = {}"); + g_string_append(output," = {},"); g_string_append(output, eol); } /* ... or has some real value inside. */ @@ -157,7 +157,7 @@ g_string_append(output, glatex_label_entry_keywords[i]); g_string_append(output, " = {"); g_string_append(output, g_ptr_array_index(entry, i)); - g_string_append(output, "}"); + g_string_append(output, "},"); g_string_append(output, eol); } }
Modified: trunk/geanylatex/src/bibtex.c =================================================================== --- trunk/geanylatex/src/bibtex.c 2010-06-03 21:24:19 UTC (rev 1421) +++ trunk/geanylatex/src/bibtex.c 2010-06-03 21:24:51 UTC (rev 1422) @@ -148,7 +148,7 @@ if (utils_str_equal(g_ptr_array_index (entry, i), "\0")) { g_string_append(output, glatex_label_entry_keywords[i]); - g_string_append(output," = {}"); + g_string_append(output," = {},"); g_string_append(output, eol); } /* ... or has some real value inside. */ @@ -157,7 +157,7 @@ g_string_append(output, glatex_label_entry_keywords[i]); g_string_append(output, " = {"); g_string_append(output, g_ptr_array_index(entry, i)); - g_string_append(output, "}"); + g_string_append(output, "},"); g_string_append(output, eol); } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.