Author: manx
Date: Thu Mar 7 12:26:20 2024
New Revision: 20267
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20267
Log:
[Fix] xmp-openmpt: Fix mis-merge.
Modified:
branches/OpenMPT-1.29/libopenmpt/xmp-openmpt.cpp
Modified: branches/OpenMPT-1.29/libopenmpt/xmp-openmpt.cpp
==============================================================================
--- branches/OpenMPT-1.29/libopenmpt/xmp-openmpt.cpp Thu Mar 7 10:12:12 2024 (r20266)
+++ branches/OpenMPT-1.29/libopenmpt/xmp-openmpt.cpp Thu Mar 7 12:26:20 2024 (r20267)
@@ -1067,9 +1067,8 @@
if( !self->single_subsong_mode && self->subsong_lengths.size() > 1 ) {
std::vector<std::string> names = self->mod->get_subsong_names();
-
for ( std::size_t i = 0; i < self->subsong_lengths.size(); ++i ) {
- str << ( i == 0 ? "Subsongs\t" : "\t" ) << (i + 1) << ". " << seconds_to_string( self->subsong_lengths[i] ) << " " << self->subsong_names[i] << "\r";
+ str << ( i == 0 ? "Subsongs\t" : "\t" ) << (i + 1) << ". " << seconds_to_string( self->subsong_lengths[i] ) << " " << names[i] << "\r";
}
}
|