Revision: 555 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=555&view=rev Author: frlan Date: 2009-03-20 22:52:58 +0000 (Fri, 20 Mar 2009)
Log Message: ----------- GeanyLaTeX: Fixed a segfault on bulk replacing of special chars
Modified Paths: -------------- trunk/geanylatex/ChangeLog trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/ChangeLog =================================================================== --- trunk/geanylatex/ChangeLog 2009-03-20 22:51:44 UTC (rev 554) +++ trunk/geanylatex/ChangeLog 2009-03-20 22:52:58 UTC (rev 555) @@ -2,6 +2,8 @@
* Replace \u-UTF-8 letters by octal coded chars. Huge thanks to Dominic Hopf for providing patch and fighting that fight. + * Added a menu entry for bulk replace function and fixed a segfault at + replacing
2009-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2009-03-20 22:51:44 UTC (rev 554) +++ trunk/geanylatex/src/geanylatex.c 2009-03-20 22:52:58 UTC (rev 555) @@ -139,7 +139,7 @@ GString *replacement = g_string_new(NULL); gint i; gchar *new = NULL; - gchar *entity = NULL; + const gchar *entity = NULL; gchar buf[7]; gint len;
@@ -166,7 +166,6 @@ sci_replace_sel(doc->editor->sci, new); g_free(selection); g_free(new); - g_free(entity); } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.