From 4468ec001e42cb0763fc1471f0269dfb99d5db50 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 22 Jul 2015 06:38:19 -0600 Subject: [PATCH] Fixed warning in console example (we're iterating chars) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index c991545c..d849d2ca 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -12919,7 +12919,7 @@ struct ExampleAppConsole while (word_start > data->Buf) { const char c = word_start[-1]; - if (c == ' ' || c == '\t' || c == 0x3000 || c == ',' || c == ';') + if (c == ' ' || c == '\t' || c == ',' || c == ';') break; word_start--; }