Commit 7b9fb6ff authored by Lauri Tulmin's avatar Lauri Tulmin Committed by Alexandre Julliard

Don't recalculate line indexes if number of lines doesn't change.

parent b1a0c6c3
...@@ -1253,7 +1253,7 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta ...@@ -1253,7 +1253,7 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
es->line_count--; es->line_count--;
} }
} }
else else if (delta != 0)
{ {
while (current_line) while (current_line)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment