[sword-svn] r1982 - trunk/src/modules/filters

scribe at www.crosswire.org scribe at www.crosswire.org
Wed Oct 4 21:21:04 MST 2006


Author: scribe
Date: 2006-10-04 21:20:33 -0700 (Wed, 04 Oct 2006)
New Revision: 1982

Modified:
   trunk/src/modules/filters/swbasicfilter.cpp
Log:
Added fix to reset inEsc when we end an escape code (charcoal)


Modified: trunk/src/modules/filters/swbasicfilter.cpp
===================================================================
--- trunk/src/modules/filters/swbasicfilter.cpp	2006-10-04 09:28:28 UTC (rev 1981)
+++ trunk/src/modules/filters/swbasicfilter.cpp	2006-10-05 04:20:33 UTC (rev 1982)
@@ -341,7 +341,7 @@
 		if (inEsc) {
 			if (*from == escEnd[escEndPos]) {
 				if (escEndPos == (escEndLen - 1)) {
-					intoken = false;
+					intoken = inEsc = false;
 					userData->lastTextNode = lastTextNode;
 					
 					if (!userData->suspendTextPassThru)  { //if text through is disabled no tokens should pass, too




More information about the sword-cvs mailing list