2
0
Эх сурвалжийг харах

fix clang6 assignment error

thfrwn 7 жил өмнө
parent
commit
f48ff4dc64

+ 2 - 2
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();