mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-20 01:34:20 +00:00
Fixed warning in console example (we're iterating chars)
This commit is contained in:
parent
60dce8bc22
commit
4468ec001e
1 changed files with 1 additions and 1 deletions
|
|
@ -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--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue