diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-12-05 17:43:00 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-12-05 17:43:00 +0100 |
| commit | 54267b0a0aead6817ab44d81790917be206f8dc1 (patch) | |
| tree | f2fb9aa2493ae93d2fcdee7e792ab5769eee9c3a /util | |
| parent | 946d39c25c924480d2fe5ba80ac30a0b2d3aa8d5 (diff) | |
sokol_gfx_imgui.h: fix msvc build
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_gfx_imgui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_gfx_imgui.h b/util/sokol_gfx_imgui.h index 34e19fd7..ed363143 100644 --- a/util/sokol_gfx_imgui.h +++ b/util/sokol_gfx_imgui.h @@ -1139,7 +1139,7 @@ _SOKOL_PRIVATE void _sgimgui_strcpy(_sgimgui_str_t* dst, const char* src) { SOKOL_ASSERT(dst); if (src) { #if defined(_MSC_VER) - strncpy_s(dst->buf, sgimgui_STRBUF_LEN, src, (sgimgui_STRBUF_LEN-1)); + strncpy_s(dst->buf, _SGIMGUI_STRBUF_LEN, src, (_SGIMGUI_STRBUF_LEN-1)); #else strncpy(dst->buf, src, _SGIMGUI_STRBUF_LEN); #endif |