Now with 100% less fuckery

git-svn-id: https://svn.eduke32.com/eduke32@98 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-23 06:15:47 +00:00
parent 910613a6d5
commit 7c42a7b7bd

View file

@ -4113,10 +4113,7 @@ SKIPJIBS:
Bsprintf(fta_quotes[i],"%d",j); Bsprintf(fta_quotes[i],"%d",j);
break; break;
case CON_QSTRCAT: case CON_QSTRCAT:
Bmemcpy(tempbuf,fta_quotes[i],MAXQUOTELEN); Bstrncat(fta_quotes[i],fta_quotes[j],(MAXQUOTELEN-1)-Bstrlen(fta_quotes[i]));
Bmemcpy(buf,fta_quotes[j],MAXQUOTELEN);
Bstrncat(tempbuf,buf,(MAXQUOTELEN-1)-Bstrlen(tempbuf));
Bmemcpy(fta_quotes[i],tempbuf,MAXQUOTELEN);
break; break;
case CON_QSTRCPY: case CON_QSTRCPY:
Bstrcpy(fta_quotes[j],fta_quotes[i]); Bstrcpy(fta_quotes[j],fta_quotes[i]);