summaryrefslogtreecommitdiff
path: root/src/xmlfilereader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlfilereader.cpp')
-rw-r--r--src/xmlfilereader.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/xmlfilereader.cpp b/src/xmlfilereader.cpp
index 9c0b7c1..eb0ff9c 100644
--- a/src/xmlfilereader.cpp
+++ b/src/xmlfilereader.cpp
@@ -14,13 +14,7 @@ XmlFileReader::XmlFileReader( const char *sFile, bool bStrip )
14 } 14 }
15 else 15 else
16 { 16 {
17 char buf[50]; 17 buildDoc();
18 fgets( buf, 50, fh );
19
20 if( !strcmp( buf, "<?xml version=\"1.0\"?>\n" ) )
21 {
22 buildDoc();
23 }
24 } 18 }
25} 19}
26 20