Revision: 2051 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2051&view=re... Author: frlan Date: 2011-04-24 00:22:45 +0000 (Sun, 24 Apr 2011)
Log Message: ----------- GeanyVC: Remove redundant document check
Modified Paths: -------------- trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c =================================================================== --- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-04-23 06:47:21 UTC (rev 2050) +++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-04-24 00:22:45 UTC (rev 2051) @@ -651,7 +651,7 @@ doc = document_get_current(); g_return_if_fail(doc != NULL && doc->file_name != NULL);
- if (doc && doc->changed && doc->file_name != NULL) + if (doc->changed) { document_save_file(doc, FALSE); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org