Bläddra i källkod

Merge pull request #18348 from rfht/master

fix clang6 assignment error
Rémi Verschelde 7 år sedan
förälder
incheckning
204de5e6dc
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      scene/gui/rich_text_label.cpp

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