prepare linux build, fix some memory leaks

This commit is contained in:
Ondřej Novák 2025-04-20 18:16:29 +02:00
parent 0fa5c48519
commit e7db30ca27
13 changed files with 133 additions and 94 deletions

View file

@ -463,7 +463,7 @@ void type_text_v2(va_list args)
case 8:if (pos>0)
{
pos--;
strcpy(&text[pos],&text[pos+1]);
memmove(text+pos,text+pos+1, strlen(text+pos+1)+1);
len--;
}
break;