From 3491e776dddf2b8c78a7b8e0648aa15c227c99cf Mon Sep 17 00:00:00 2001 From: thfrwn <11335318+rfht@users.noreply.github.com> Date: Sat, 21 Apr 2018 22:26:43 -0700 Subject: [PATCH] fix clang6 assignment error (cherry picked from commit f48ff4dc64ac05900eb3e7a5c10b9c9d2f5e4bad) --- scene/gui/rich_text_label.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 5bc5d8e6904..158e23d64da 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -829,9 +829,9 @@ void RichTextLabel::_gui_input(Ref 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();