fix clang6 assignment error

(cherry picked from commit f48ff4dc64)
This commit is contained in:
thfrwn 2018-04-21 22:26:43 -07:00 committed by Hein-Pieter van Braam
parent 5f632391ca
commit 3491e776dd
1 changed files with 2 additions and 2 deletions

View File

@ -829,9 +829,9 @@ void RichTextLabel::_gui_input(Ref<InputEvent> p_event) {
// Erase previous selection.
if (selection.active) {
selection.from = NULL;
selection.from_char = NULL;
selection.from_char = '\0';
selection.to = NULL;
selection.to_char = NULL;
selection.to_char = '\0';
selection.active = false;
update();