1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-13 18:50:58 +01:00

fixing warning

This commit is contained in:
Katie M 2024-04-01 21:42:08 -04:00
parent 52491c11cf
commit 36dda875da

View File

@ -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.