diff options
Diffstat (limited to '')
-rw-r--r-- | src/xmlfilereader.cpp | 6 |
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 | ||
58 | void XmlFileReader::usedChar() | 58 | void 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 | } |