From e67b464d9e992489bfb57ffa48ab9bddc5a43f97 Mon Sep 17 00:00:00 2001 From: Cyberbeing Date: Fri, 16 Oct 2015 07:05:43 -0700 Subject: [PATCH] Fix typo which broke \r tag --- src/subtitles/RTS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subtitles/RTS.cpp b/src/subtitles/RTS.cpp index 689d467dc..479209579 100644 --- a/src/subtitles/RTS.cpp +++ b/src/subtitles/RTS.cpp @@ -2625,7 +2625,7 @@ bool CRenderedTextSubtitle::CreateSubFromSSATag(CSubtitle* sub, const AssTagList break; case CMD_r: { STSStyle* val; - style = (tag.params[0].IsEmpty() && m_styles.Lookup(tag.params[0], val) && val) ? *val : org; + style = (!tag.params[0].IsEmpty() && m_styles.Lookup(tag.params[0], val) && val) ? *val : org; break; } case CMD_shad: