aboutsummaryrefslogtreecommitdiff
path: root/src/xmlfilereader.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xmlfilereader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlfilereader.cpp b/src/xmlfilereader.cpp
index dd4bc82..9c0b7c1 100644
--- a/src/xmlfilereader.cpp
+++ b/src/xmlfilereader.cpp
@@ -55,10 +55,10 @@ char XmlFileReader::getChar( int nIndex )
55 } 55 }
56} 56}
57 57
58void XmlFileReader::usedChar() 58void XmlFileReader::usedChar( int nAmnt )
59{ 59{
60 if( fbDataIn.getLength() > 0 ) 60 if( fbDataIn.getLength()-nAmnt >= 0 )
61 { 61 {
62 fbDataIn.usedData( 1 ); 62 fbDataIn.usedData( nAmnt );
63 } 63 }
64} 64}