mirror of https://github.com/odrling/Aegisub
Originally committed to SVN as r75.
This commit is contained in:
parent
675c2d0829
commit
df6071d1e6
|
@ -1312,13 +1312,14 @@ void SubsEditBox::SetOverride (wxString tagname,wxString preValue,int forcePos)
|
|||
// End
|
||||
if (hasEnd && selend != selstart) {
|
||||
// Prepare variables again
|
||||
int origStart = selstart;
|
||||
selstart = selend + shift;
|
||||
insert = insert2;
|
||||
blockn = BlockAtPos(selend);
|
||||
SetText(line->Text);
|
||||
blockn = BlockAtPos(selstart);
|
||||
block = line->Blocks.at(blockn);
|
||||
plain = AssDialogueBlock::GetAsPlain(block);
|
||||
override = AssDialogueBlock::GetAsOverride(block);
|
||||
int origStart = selstart;
|
||||
selstart = selend + shift;
|
||||
|
||||
// Plain
|
||||
if (plain) {
|
||||
|
|
Loading…
Reference in New Issue