1
0
Fork 0
forked from fte/fteqw

builin QVM_strftime() should return result from strftime() -- qqshka

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6149 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2022-01-08 09:59:38 +00:00
parent 13b2a7935c
commit 2dd5f25ddf

View file

@ -1654,8 +1654,7 @@ static qintptr_t QVM_strftime (void *offset, quintptr_t mask, const qintptr_t *a
time(&curtime);
curtime += VM_LONG(arg[3]);
local = localtime(&curtime);
strftime(out, VM_LONG(arg[1]), fmt, local);
return 0;
return strftime(out, VM_LONG(arg[1]), fmt, local);
}
static qintptr_t QVM_Cmd_ArgS (void *offset, quintptr_t mask, const qintptr_t *arg)
{