diff options
Diffstat (limited to 'src/Subtitles/RTS.cpp')
-rw-r--r-- | src/Subtitles/RTS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Subtitles/RTS.cpp b/src/Subtitles/RTS.cpp index 7d653593b..f9911ab13 100644 --- a/src/Subtitles/RTS.cpp +++ b/src/Subtitles/RTS.cpp @@ -3263,9 +3263,9 @@ STDMETHODIMP CRenderedTextSubtitle::GetStreamInfo(int iStream, WCHAR** ppName, L }
CStringW strName;
if (!m_provider.IsEmpty()) {
- strName.Format(L"[%s] %s\t%s", m_provider, m_name, strLanguage);
+ strName.Format(L"[%s] %s\t%s", m_provider.GetString(), m_name.GetString(), strLanguage.GetString());
} else {
- strName.Format(L"%s\t%s", m_name, strLanguage);
+ strName.Format(L"%s\t%s", m_name.GetString(), strLanguage.GetString());
}
*ppName = (WCHAR*)CoTaskMemAlloc((strName.GetLength() + 1) * sizeof(WCHAR));
|