We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421a11c commit fcc0a09Copy full SHA for fcc0a09
1 file changed
platforms/shared/desktop/gui_debug_text.h
@@ -64,7 +64,7 @@ static bool ProcessInlineHexColor(const char* start, const char* end, ImVec4& co
64
if(digits == 6 || digits == 8)
65
{
66
char hex[9];
67
- strncpy_fit(hex, start, digits);
+ memcpy(hex, start, digits);
68
hex[digits] = 0;
69
70
unsigned int hex_color = 0;
0 commit comments