SF.net SVN: geany:[5656] trunk/plugins/splitwindow.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed Mar 30 13:09:28 UTC 2011
Revision: 5656
http://geany.svn.sourceforge.net/geany/?rev=5656&view=rev
Author: ntrel
Date: 2011-03-30 13:09:27 +0000 (Wed, 30 Mar 2011)
Log Message:
-----------
Remove unnecessary use of DOC_VALID() macro.
Modified Paths:
--------------
trunk/plugins/splitwindow.c
Modified: trunk/plugins/splitwindow.c
===================================================================
--- trunk/plugins/splitwindow.c 2011-03-30 12:47:26 UTC (rev 5655)
+++ trunk/plugins/splitwindow.c 2011-03-30 13:09:27 UTC (rev 5656)
@@ -447,7 +447,7 @@
return FALSE;
doc = document_get_current();
- if (DOC_VALID(doc))
+ if (doc)
set_editor(&edit_window, doc->editor);
else
on_unsplit(NULL, NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list