mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Fixed warning in console example (we're iterating chars)
This commit is contained in:
parent
60dce8bc22
commit
4468ec001e
@ -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--;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user