Revision: 2215 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2215&view=re... Author: frlan Date: 2011-09-25 20:07:43 +0000 (Sun, 25 Sep 2011) Log Message: ----------- GeanySendMail: A more clean workaround
Modified Paths: -------------- trunk/geany-plugins/geanysendmail/src/geanysendmail.c
Modified: trunk/geany-plugins/geanysendmail/src/geanysendmail.c =================================================================== --- trunk/geany-plugins/geanysendmail/src/geanysendmail.c 2011-09-25 16:59:59 UTC (rev 2214) +++ trunk/geany-plugins/geanysendmail/src/geanysendmail.c 2011-09-25 20:07:43 UTC (rev 2215) @@ -148,11 +148,8 @@ else { /* Removes %r if option was not activ but was included into command */ - gchar *tmp_fix; - tmp_fix = g_strdup(""); - utils_string_replace_all(cmd_str, "%r", tmp_fix); + utils_string_replace_all(cmd_str, "%r", ""); g_free(address); - g_free(tmp_fix); }
utils_string_replace_all(cmd_str, "%b", g_path_get_basename(locale_filename));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.