[sword-svn] r467 - branches/BCB5

chrislit at www.crosswire.org chrislit at www.crosswire.org
Sat Oct 20 00:33:00 MST 2007


Author: chrislit
Date: 2007-10-20 00:32:59 -0700 (Sat, 20 Oct 2007)
New Revision: 467

Modified:
   branches/BCB5/RxRichEditX.cpp
Log:
counted brackets incorrectly in last commmit

Modified: branches/BCB5/RxRichEditX.cpp
===================================================================
--- branches/BCB5/RxRichEditX.cpp	2007-10-20 04:59:26 UTC (rev 466)
+++ branches/BCB5/RxRichEditX.cpp	2007-10-20 07:32:59 UTC (rev 467)
@@ -1160,10 +1160,10 @@
         signed char bracketCount = 0;
 
         while (*rtfcstr) {
-		if (*rtfcstr == '}') {
+		if (*rtfcstr == '{') {
                 	bracketCount++;
                 }
-                else if (*rtfcstr == '{') {
+                else if (*rtfcstr == '}') {
                  	bracketCount--;
                 }
                 rtfcstr++;




More information about the sword-cvs mailing list