From 511dc1c92faaff2dde0b019337ba8cca506ebb89 Mon Sep 17 00:00:00 2001
From: Lawrence Rust <lvr@softsystem.co.uk>
Date: Sat, 4 Feb 2012 17:00:51 +0100
Subject: [PATCH] mythmusic: Fix mingw32 compile of cddecoder.cpp
Commit c121c3ac added lidcdio support for CD reading but a number of stylistic
changes were made to my original patch, including renaming some CdDecoder
instance variables (adding an "m_" wart). Unfortunately some win32
specific code that used these variables wasn't updated.
Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
---
mythplugins/mythmusic/mythmusic/cddecoder.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mythplugins/mythmusic/mythmusic/cddecoder.cpp b/mythplugins/mythmusic/mythmusic/cddecoder.cpp
index 94ea6cb..4ed58df 100644
a
|
b
|
void CdDecoder::setDevice(const QString &dev) |
125 | 125 | m_devicename = dev; |
126 | 126 | #ifdef WIN32 |
127 | 127 | // libcdio needs the drive letter with no path |
128 | | if (devicename.endsWith('\\')) |
129 | | devicename.chop(1); |
| 128 | if (m_devicename.endsWith('\\')) |
| 129 | m_devicename.chop(1); |
130 | 130 | #endif |
131 | 131 | } |
132 | 132 | |