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:
parent
13b2a7935c
commit
2dd5f25ddf
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue