[Colors] Fix dedi crashes
This commit is contained in:
parent
0c848a0be4
commit
fea0cb9440
@ -96,7 +96,7 @@ namespace Components
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
strncpy_s(buffer, size, name, size);
|
strncpy_s(buffer, size, name, _TRUNCATE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ namespace Components
|
|||||||
__asm
|
__asm
|
||||||
{
|
{
|
||||||
mov eax, [esp + 4h] // length
|
mov eax, [esp + 4h] // length
|
||||||
sub eax, 1
|
//sub eax, 1
|
||||||
push eax
|
push eax
|
||||||
|
|
||||||
push ecx // name
|
push ecx // name
|
||||||
|
Loading…
Reference in New Issue
Block a user