Przeglądaj źródła

Fixed warning in console example (we're iterating chars)

ocornut 10 lat temu
rodzic
commit
4468ec001e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -12919,7 +12919,7 @@ struct ExampleAppConsole
                 while (word_start > data->Buf)
                 while (word_start > data->Buf)
                 {
                 {
                     const char c = word_start[-1];
                     const char c = word_start[-1];
-                    if (c == ' ' || c == '\t' || c == 0x3000 || c == ',' || c == ';')
+                    if (c == ' ' || c == '\t' || c == ',' || c == ';')
                         break;
                         break;
                     word_start--;
                     word_start--;
                 }
                 }