Revision: 1086 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1086&view=re... Author: frlan Date: 2009-12-21 13:54:56 +0000 (Mon, 21 Dec 2009)
Log Message: ----------- geanyVC: Fixes an issue in case of empty language string for spellchecking
Modified Paths: -------------- trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c =================================================================== --- trunk/geany-plugins/geanyvc/src/geanyvc.c 2009-12-20 21:53:45 UTC (rev 1085) +++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2009-12-21 13:54:56 UTC (rev 1086) @@ -1530,7 +1530,7 @@ g_error_free(spellcheck_error); spellcheck_error = NULL; } - else if (lang != NULL) + else if (NZV(lang)) { gtkspell_set_language(speller, lang, &spellcheck_error); if (spellcheck_error != NULL)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org