hud_elements: increase buffer size of TextColored to prevent truncation

mangoconfig
Alessandro Toia 8 months ago
parent 14da551ae0
commit 4bc55bf966

@ -113,7 +113,7 @@ void HudElements::convert_colors(bool do_conv, const struct overlay_params& para
void HudElements::TextColored(ImVec4 col, const char *fmt, ...){
auto textColor = ImGui::ColorConvertFloat4ToU32(col);
char buffer[32] {};
char buffer[48] {};
va_list args;
va_start(args, fmt);

Loading…
Cancel
Save