diff options
author | wsoltys <wiso@xbmc.org> | 2013-11-26 12:03:59 -0800 |
---|---|---|
committer | wsoltys <wiso@xbmc.org> | 2013-11-26 12:03:59 -0800 |
commit | 2bcd27b6ca9b4cb43d8251af991432ac6e804293 (patch) | |
tree | 9d7b18a13e5e6c4e842f2c6901d2d9f916172759 | |
parent | 59e53dbd330f3ac7612f0a96e7bd18b55ad74e76 (diff) | |
parent | 0fdfedee1048b4c3528f8502c401e14523d638fb (diff) |
Merge pull request #3706 from wsoltys/iso_name
fixed: some cd names were displayed as weird characters.
-rw-r--r-- | xbmc/storage/cdioSupport.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/storage/cdioSupport.cpp b/xbmc/storage/cdioSupport.cpp index 22d273ceda..801627dd85 100644 --- a/xbmc/storage/cdioSupport.cpp +++ b/xbmc/storage/cdioSupport.cpp @@ -400,8 +400,8 @@ void CCdIoSupport::PrintAnalysis(int fs, int num_audio) case FS_ISO_9660_INTERACTIVE: case FS_ISO_HFS: case FS_ISO_UDF: - CLog::Log(LOGINFO, "ISO 9660: %i blocks, label `%.32s'\n", - m_nIsofsSize, buffer[0] + 40); + CLog::Log(LOGINFO, "ISO 9660: %i blocks, label %s", + m_nIsofsSize, m_strDiscLabel.c_str()); break; } @@ -882,8 +882,8 @@ CCdInfo* CCdIoSupport::GetCdInfo(char* cDeviceFileName) " ISO 9660 blocks: %6i", j++, i, m_nStartTrack, m_nIsofsSize); - CLog::Log(LOGINFO, "ISO 9660: %i blocks, label '%.32s'\n", - m_nIsofsSize, buffer[0] + 40); + CLog::Log(LOGINFO, "ISO 9660: %i blocks, label %s", + m_nIsofsSize, m_strDiscLabel.c_str()); m_nFs |= MULTISESSION; ti.nfsInfo = m_nFs; } |