mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 20:39:37 +01:00
Fix sign comparison warning.
This commit is contained in:
parent
220954cf08
commit
87149557b2
@ -3132,7 +3132,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
|
||||
}
|
||||
|
||||
// No need to move the brace below if we are not taking the text with us.
|
||||
char closing_char = _get_right_pair_symbol(indent_char);
|
||||
CharType closing_char = _get_right_pair_symbol(indent_char);
|
||||
if ((closing_char != 0) && (closing_char == text[cursor.line][cursor.column]) && !k->get_command()) {
|
||||
brace_indent = true;
|
||||
ins += "\n" + ins.substr(1, ins.length() - 2);
|
||||
|
Loading…
Reference in New Issue
Block a user