summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorthfrwn <11335318+rfht@users.noreply.github.com>2018-04-21 22:26:43 -0700
committerthfrwn <11335318+rfht@users.noreply.github.com>2018-04-21 22:26:43 -0700
commitf48ff4dc64ac05900eb3e7a5c10b9c9d2f5e4bad (patch)
treef1527b4107564d8e31e379bbbe16a113496a6dcb /scene/gui
parent6b797574a2a238968211daa6c731bae56e7bff05 (diff)
fix clang6 assignment error
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/rich_text_label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp
index 6bfc4d4dee..1fcde9e9a8 100644
--- a/scene/gui/rich_text_label.cpp
+++ b/scene/gui/rich_text_label.cpp
@@ -867,9 +867,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();