Skip to content

Commit fcc0a09

Browse files
committed
[debugger] fix colors
1 parent 421a11c commit fcc0a09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

platforms/shared/desktop/gui_debug_text.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static bool ProcessInlineHexColor(const char* start, const char* end, ImVec4& co
6464
if(digits == 6 || digits == 8)
6565
{
6666
char hex[9];
67-
strncpy_fit(hex, start, digits);
67+
memcpy(hex, start, digits);
6868
hex[digits] = 0;
6969

7070
unsigned int hex_color = 0;

0 commit comments

Comments
 (0)