1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-17 01:04:19 +00:00

Misc: Avoid stb_textedit.h reincluding string.h while in a namespace. (#6653, #4791)

This commit is contained in:
ocornut 2023-07-27 19:45:28 +02:00
parent f1781c20a3
commit 79d6f4e211
2 changed files with 3 additions and 0 deletions

View file

@ -3812,6 +3812,7 @@ static bool STB_TEXTEDIT_INSERTCHARS(ImGuiInputTextState* obj, int pos, const Im
#define STB_TEXTEDIT_K_SHIFT 0x400000
#define STB_TEXTEDIT_IMPLEMENTATION
#define STB_TEXTEDIT_memmove memmove
#include "imstb_textedit.h"
// stb_textedit internally allows for a single undo record to do addition and deletion, but somehow, calling