diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-01-06 01:31:31 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-01-06 01:31:31 -0700 |
commit | 5d21388a640239cadcfbf3ee2fd296db9d0eab4a (patch) | |
tree | a500345b9f23ae9f74183257d971909d5dccfbec /src | |
parent | 46ccdb146476f8ac140af75ab2decccbce800db2 (diff) | |
download | stage-5d21388a640239cadcfbf3ee2fd296db9d0eab4a.tar.gz stage-5d21388a640239cadcfbf3ee2fd296db9d0eab4a.tar.bz2 stage-5d21388a640239cadcfbf3ee2fd296db9d0eab4a.tar.xz stage-5d21388a640239cadcfbf3ee2fd296db9d0eab4a.zip |
Fixed sub-tag wrapping bug.
Diffstat (limited to 'src')
-rw-r--r-- | src/options.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) | |||
208 | { | 208 | { |
209 | sNextToken.append( iBgn, iEnd ); | 209 | sNextToken.append( iBgn, iEnd ); |
210 | iBgn = iEnd; | 210 | iBgn = iEnd; |
211 | iNextLen += iTmpLen; | ||
212 | iTmpLen = 0; | ||
211 | } | 213 | } |
212 | else if( *iEnd == ' ' || *iEnd == '\n' || | 214 | else if( *iEnd == ' ' || *iEnd == '\n' || |
213 | *iEnd == '\r' || *iEnd == '\t' ) | 215 | *iEnd == '\r' || *iEnd == '\t' ) |