mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-13 00:09:55 +02:00
Fixed warning in console example (we're iterating chars)
This commit is contained in:
@ -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--;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user