Remove unneccessary increment in TextEdit

This commit is contained in:
Tomasz Chabora 2020-04-29 00:16:48 +02:00
parent 75e4ccc00e
commit 9dfb231e00

View file

@ -1064,11 +1064,6 @@ void TextEdit::_notification(int p_what) {
break;
}
// re-adjust if we went backwards.
if (color != previous_color && !is_whitespace) {
characters++;
}
if (str[j] == '\t') {
tabs += minimap_tab_size;
}