SF.net SVN: geany: [762] trunk/src/sci_cb.c
eht16 at users.sourceforge.net
eht16 at xxxxx
Thu Aug 24 17:58:20 UTC 2006
Revision: 762
Author: eht16
Date: 2006-08-24 10:58:04 -0700 (Thu, 24 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=762&view=rev
Log Message:
-----------
Stop immediately (un)commenting when the comment open string is empty.
Modified Paths:
--------------
trunk/src/sci_cb.c
Modified: trunk/src/sci_cb.c
===================================================================
--- trunk/src/sci_cb.c 2006-08-23 18:08:48 UTC (rev 761)
+++ trunk/src/sci_cb.c 2006-08-24 17:58:04 UTC (rev 762)
@@ -1010,6 +1010,7 @@
if (co == NULL) return;
co_len = strlen(co);
+ if (co_len == 0) return;
SSM(doc_list[idx].sci, SCI_BEGINUNDOACTION, 0, 0);
@@ -1169,6 +1170,7 @@
if (co == NULL) return;
co_len = strlen(co);
+ if (co_len == 0) return;
SSM(doc_list[idx].sci, SCI_BEGINUNDOACTION, 0, 0);
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