mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-13 18:50:58 +01:00
fixing warning
This commit is contained in:
parent
52491c11cf
commit
36dda875da
@ -1337,7 +1337,7 @@ ImGuiIO::ImGuiIO()
|
||||
AppAcceptingEvents = true;
|
||||
BackendUsingLegacyKeyArrays = (ImS8)-1;
|
||||
BackendUsingLegacyNavInputArray = true; // assume using legacy array until proven wrong
|
||||
PreEditText[0] = NULL;
|
||||
PreEditText[0] = '\0';
|
||||
}
|
||||
|
||||
void ImGuiIO::SetPreEditText(const char *str)
|
||||
@ -1347,7 +1347,7 @@ void ImGuiIO::SetPreEditText(const char *str)
|
||||
|
||||
void ImGuiIO::ClearPreEditText()
|
||||
{
|
||||
PreEditText[0] = NULL;
|
||||
PreEditText[0] = '\0';
|
||||
}
|
||||
|
||||
// Pass in translated ASCII characters for text input.
|
||||
|
Loading…
Reference in New Issue
Block a user