aboutsummaryrefslogtreecommitdiff
path: root/src/xmlstringreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xmlstringreader.cpp6
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
32void XmlStringReader::usedChar() 32void 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}