From 5d21388a640239cadcfbf3ee2fd296db9d0eab4a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 6 Jan 2012 01:31:31 -0700 Subject: Fixed sub-tag wrapping bug. --- src/options.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/options.cpp b/src/options.cpp index 319532e..c2e7313 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -208,6 +208,8 @@ void smlToConsole( const SmlNode *pNode ) { sNextToken.append( iBgn, iEnd ); iBgn = iEnd; + iNextLen += iTmpLen; + iTmpLen = 0; } else if( *iEnd == ' ' || *iEnd == '\n' || *iEnd == '\r' || *iEnd == '\t' ) -- cgit v1.2.3