TIC-80 crashes when moving mouse over keys in sfx mode #493
This commit is contained in:
parent
d4131c0bb5
commit
1e09c653ec
|
@ -474,7 +474,7 @@ bool fromClipboard(void* data, s32 size, bool flip, bool remove_white_spaces)
|
||||||
|
|
||||||
void showTooltip(const char* text)
|
void showTooltip(const char* text)
|
||||||
{
|
{
|
||||||
strcpy(studio.tooltip.text, text);
|
strncpy(studio.tooltip.text, text, sizeof studio.tooltip.text - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void drawExtrabar(tic_mem* tic)
|
static void drawExtrabar(tic_mem* tic)
|
||||||
|
|
Loading…
Reference in New Issue