From 89a431a68bde14caad48962fc0f20f22a44c883a Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 17 Jan 2013 14:04:50 -0800 Subject: [PATCH] Set end times to zero when pasting plain text. Closes #1570. --- aegisub/src/command/edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/command/edit.cpp b/aegisub/src/command/edit.cpp index bcb28d10f..ca6423459 100644 --- a/aegisub/src/command/edit.cpp +++ b/aegisub/src/command/edit.cpp @@ -113,6 +113,7 @@ void paste_lines(agi::Context *c, bool paste_over, Paster&& paste_line) { // Line didn't parse correctly, assume it's plain text that // should be pasted in the Text field only curdiag = new AssDialogue; + curdiag->End = 0; curdiag->Text = curdata; }