aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/xm/xmfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'taglib/xm/xmfile.cpp')
-rw-r--r--taglib/xm/xmfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/taglib/xm/xmfile.cpp b/taglib/xm/xmfile.cpp
index 57b6be7b..5efc2204 100644
--- a/taglib/xm/xmfile.cpp
+++ b/taglib/xm/xmfile.cpp
@@ -101,7 +101,7 @@ void XM::File::read(bool)
READ_STRING(d->tag.setTrackerName, 20);
READ_U16L(d->properties.setVersion);
READ_U32L_AS(headerSize);
- READ_U16L(d->properties.setSampleLength);
+ READ_U16L(d->properties.setTableLength);
READ_U16L(d->properties.setRestartPosition);
READ_U16L(d->properties.setChannels);
READ_U16L_AS(patternCount);