aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/audiocd/macosx/macosx-audiocd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/audiocd/macosx/macosx-audiocd.cpp b/backends/audiocd/macosx/macosx-audiocd.cpp
index d03541a2c9..e8d41c3e10 100644
--- a/backends/audiocd/macosx/macosx-audiocd.cpp
+++ b/backends/audiocd/macosx/macosx-audiocd.cpp
@@ -279,6 +279,7 @@ bool MacOSXAudioCDManager::findTrackNames(const Common::String &drivePath) {
if (fileName.hasSuffix(".aiff") || fileName.hasSuffix(".cdda")) {
uint j = 0;
+ // Search for the track ID in the file name.
for (; j < fileName.size() && !Common::isDigit(fileName[j]); j++)
;