mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 03:58:47 +02:00
@ -4036,7 +4036,7 @@ void ImGui::InputTextDeactivateHook(ImGuiID id)
|
||||
return;
|
||||
g.InputTextDeactivatedState.ID = state->ID;
|
||||
g.InputTextDeactivatedState.TextA.resize(state->CurLenA + 1);
|
||||
memcpy(g.InputTextDeactivatedState.TextA.Data, state->TextA.Data, state->CurLenA + 1);
|
||||
memcpy(g.InputTextDeactivatedState.TextA.Data, state->TextA.Data ? state->TextA.Data : "", state->CurLenA + 1);
|
||||
}
|
||||
|
||||
// Edit a string of text
|
||||
|
Reference in New Issue
Block a user