diff options
Diffstat (limited to '')
-rw-r--r-- | src/xmlstringreader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlstringreader.cpp b/src/xmlstringreader.cpp index 82caacd..211df78 100644 --- a/src/xmlstringreader.cpp +++ b/src/xmlstringreader.cpp | |||
@@ -29,10 +29,10 @@ char XmlStringReader::getChar( int nAdd ) | |||
29 | } | 29 | } |
30 | } | 30 | } |
31 | 31 | ||
32 | void XmlStringReader::usedChar() | 32 | void XmlStringReader::usedChar( int nAmnt ) |
33 | { | 33 | { |
34 | if( nLength >= nIndex+1 ) | 34 | if( nLength >= nIndex+nAmnt ) |
35 | { | 35 | { |
36 | nIndex++; | 36 | nIndex += nAmnt; |
37 | } | 37 | } |
38 | } | 38 | } |