diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-06-28 08:29:15 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-06-28 08:29:15 +0000 |
commit | c427a7a635ed7f367d3581f0f78b09ef0ac736b9 (patch) | |
tree | e98b77d634a7613bf2c4c50b0454911b79574d95 /src/xmlfilereader.cpp | |
parent | 789eaff64b6dcdf920eb3f5a5d64ab4f1f33aa05 (diff) | |
download | libbu++-c427a7a635ed7f367d3581f0f78b09ef0ac736b9.tar.gz libbu++-c427a7a635ed7f367d3581f0f78b09ef0ac736b9.tar.bz2 libbu++-c427a7a635ed7f367d3581f0f78b09ef0ac736b9.tar.xz libbu++-c427a7a635ed7f367d3581f0f78b09ef0ac736b9.zip |
Fixed a conflict between the new low level reader and the file reader.
Diffstat (limited to '')
-rw-r--r-- | src/xmlfilereader.cpp | 8 |
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 | ||