From 1c2fb01f0a9de76295783302787cde700b6ccd5c Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 14 Feb 2012 00:35:41 +0000 Subject: [PATCH] Copy the cached entry data in AssStyle's operator=. Closes #1453. Originally committed to SVN as r6472. --- aegisub/src/ass_style.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aegisub/src/ass_style.cpp b/aegisub/src/ass_style.cpp index db58957ac..830fbd2f3 100644 --- a/aegisub/src/ass_style.cpp +++ b/aegisub/src/ass_style.cpp @@ -322,6 +322,8 @@ AssStyle& AssStyle::operator=(AssStyle const& rgt) { memcpy(Margin, rgt.Margin, sizeof(Margin)); + SetEntryData(rgt.GetEntryData()); + return *this; }