summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2007-04-19 12:06:50 +0000
committerWerner Schweer <ws.seh.de>2007-04-19 12:06:50 +0000
commit6966b30f75f329cef03baa6554a667895864b8c0 (patch)
tree4045d413a763c0b5271bd06052a4caacaf86e8a8
parentfcc98151bee79745a49fb7d8cd7bc3a6bf40be30 (diff)
oops
-rw-r--r--muse/muse/song.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/muse/muse/song.cpp b/muse/muse/song.cpp
index 240d003e..1ede4c95 100644
--- a/muse/muse/song.cpp
+++ b/muse/muse/song.cpp
@@ -1436,10 +1436,9 @@ bool Song::read(QFile* qf)
int major=0, minor=0;
sscanf(sversion.toLatin1().data(), "%d.%d", &major, &minor);
int version = major << 8 + minor;
-printf("read version %x\n", version);
if (version >= 0x201)
read30(node.firstChild());
- if (version >= 0x200)
+ else if (version >= 0x200)
read20(node);
else if (version == 0x100)
read10(node.firstChild());