Merge pull request #38314 from KoBeWi/dead_increment

Remove unneccessary increment in TextEdit
This commit is contained in:
Rémi Verschelde
2020-04-29 08:55:56 +02:00
committed by GitHub

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;
}