mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-06 04:58:47 +02:00
Fonts: Fixed debug name not being zero-terminated if longer than storage buffer + made buffer slightly longer as well.
This commit is contained in:
2
imgui.h
2
imgui.h
@ -1628,7 +1628,7 @@ struct ImFontConfig
|
||||
float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable.
|
||||
|
||||
// [Internal]
|
||||
char Name[32]; // Name (strictly to ease debugging)
|
||||
char Name[40]; // Name (strictly to ease debugging)
|
||||
ImFont* DstFont;
|
||||
|
||||
IMGUI_API ImFontConfig();
|
||||
|
Reference in New Issue
Block a user