diff options
author | Underground78 <underground78@users.sourceforge.net> | 2016-03-27 17:49:49 +0300 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2016-04-12 00:31:05 +0300 |
commit | 4a9d59259f646fc971b4248526c395da26fcb306 (patch) | |
tree | bff0433b1d8599f42565ac96e5c323a12755fdb2 /src/Subtitles/RTS.cpp | |
parent | 2ff1b3776d0915dd03ef32e866696212fadd26c6 (diff) |
Move ISO languages related code to its own files.
Diffstat (limited to 'src/Subtitles/RTS.cpp')
-rw-r--r-- | src/Subtitles/RTS.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Subtitles/RTS.cpp b/src/Subtitles/RTS.cpp index 89f0ed5c6..ead1d5f32 100644 --- a/src/Subtitles/RTS.cpp +++ b/src/Subtitles/RTS.cpp @@ -26,6 +26,7 @@ #include "ColorConvTable.h"
#include "RTS.h"
#include "../DSUtil/PathUtils.h"
+#include "../DSUtil/ISOLang.h"
// WARNING: this isn't very thread safe, use only one RTS a time. We should use TLS in future.
static HDC g_hDC;
@@ -3219,9 +3220,9 @@ STDMETHODIMP CRenderedTextSubtitle::GetStreamInfo(int iStream, WCHAR** ppName, L }
if (pLCID) {
- *pLCID = ISO6391ToLcid(CW2A(m_name));
+ *pLCID = ISOLang::ISO6391ToLcid(CW2A(m_name));
if (*pLCID == 0) {
- *pLCID = ISO6392ToLcid(CW2A(m_name));
+ *pLCID = ISOLang::ISO6392ToLcid(CW2A(m_name));
}
}
|