Try to fix dotranslate symbols getting b0rked.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6010 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2021-08-05 16:49:32 +00:00
parent fb239abaf7
commit 67ff1e6cbb
1 changed files with 1 additions and 1 deletions

View File

@ -8370,7 +8370,7 @@ static QCC_sref_t QCC_MakeStringConstInternal(const char *value, size_t length,
char buf[64];
QC_snprintfz(buf, sizeof(buf), "dotranslate_%i", ++dotranslate_count);
cn = (void *)qccHunkAlloc (sizeof(QCC_def_t)+sizeof(string_t) + strlen(buf)+1);
cn->name = (char*)((QCC_eval_t*)(cn+1)+1);
cn->name = (char*)((string_t*)(cn+1)+1);
strcpy(cn->name, buf);
cn->used = true; //
cn->referenced = true;