diff options
author | Underground78 <underground78@users.sourceforge.net> | 2015-07-27 00:06:09 +0300 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2015-08-01 16:03:34 +0300 |
commit | 3b915fa3c348316dcc38bd3d3601dc03f78ad450 (patch) | |
tree | 9429cd5668aef4ff8a98b9ae1792bacb03ef9fbe | |
parent | 59c6a05643b244fa7e00ce8a6a8143304e8cfe04 (diff) |
Fix wrong _stscanf_s format string.
-rw-r--r-- | src/Subtitles/VobSubFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subtitles/VobSubFile.cpp b/src/Subtitles/VobSubFile.cpp index 1c0983ced..f1f8e33be 100644 --- a/src/Subtitles/VobSubFile.cpp +++ b/src/Subtitles/VobSubFile.cpp @@ -2400,7 +2400,7 @@ void CVobSubStream::Open(CString name, BYTE* pData, int len) m_alignver = ver == _T("TOP") ? 0 : ver == _T("CENTER") ? 1 : /*ver == _T("BOTTOM") ? 2 :*/ 2;
}
} else if (key == _T("fade in/out")) {
- _stscanf_s(value, _T("%d%, %d%"), &m_fadein, &m_fadeout);
+ _stscanf_s(value, _T("%d, %d"), &m_fadein, &m_fadeout);
} else if (key == _T("time offset")) {
m_toff = _tcstol(value, nullptr, 10);
} else if (key == _T("forced subs")) {
|