diff options
author | v0lt <v0lt@users.sourceforge.net> | 2011-12-20 00:51:13 +0400 |
---|---|---|
committer | v0lt <v0lt@users.sourceforge.net> | 2011-12-20 00:51:13 +0400 |
commit | d91c70400ce6b4cd25db66b37b5f2bbe0b175611 (patch) | |
tree | 8bdc622f73c15f18a873cfb82d055f7cf3065284 /src/Subtitles | |
parent | 136aca388d58e13438bf1c10438306bc76a55498 (diff) |
Fixed typo in r3808 (ticket #1901)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3904 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/Subtitles')
-rw-r--r-- | src/Subtitles/RTS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subtitles/RTS.cpp b/src/Subtitles/RTS.cpp index ef09e930c..a1fbeea38 100644 --- a/src/Subtitles/RTS.cpp +++ b/src/Subtitles/RTS.cpp @@ -1217,7 +1217,7 @@ CRect CLine::PaintBody(SubPicDesc& spd, CRect& clipRect, BYTE* pAlphaMask, CPoin DWORD asecondary = w->m_style.alpha[1];
if(alpha > 0) {
aprimary += alpha*(0xff-w->m_style.alpha[0])/0xff;
- asecondary += alpha*(0xff-w->m_style.alpha[2])/0xff;
+ asecondary += alpha*(0xff-w->m_style.alpha[1])/0xff;
}
COLORREF primary = revcolor(w->m_style.colors[0]) | ((0xff-aprimary)<<24);
COLORREF secondary = revcolor(w->m_style.colors[1]) | ((0xff-asecondary)<<24);
|