mirror of
https://github.com/Drezil/imgui.git
synced 2025-04-01 17:02:45 +00:00
parent
5f301914a0
commit
e8206db829
2
imgui.h
2
imgui.h
@ -23,7 +23,7 @@
|
|||||||
// Library Version
|
// Library Version
|
||||||
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345')
|
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345')
|
||||||
#define IMGUI_VERSION "1.89.5 WIP"
|
#define IMGUI_VERSION "1.89.5 WIP"
|
||||||
#define IMGUI_VERSION_NUM 18946
|
#define IMGUI_VERSION_NUM 18947
|
||||||
#define IMGUI_HAS_TABLE
|
#define IMGUI_HAS_TABLE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -4036,7 +4036,7 @@ void ImGui::InputTextDeactivateHook(ImGuiID id)
|
|||||||
return;
|
return;
|
||||||
g.InputTextDeactivatedState.ID = state->ID;
|
g.InputTextDeactivatedState.ID = state->ID;
|
||||||
g.InputTextDeactivatedState.TextA.resize(state->CurLenA + 1);
|
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
|
// Edit a string of text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user