vbscript: Avoid negating SUCCEEDED().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2021-10-19 22:54:34 +02:00 committed by Alexandre Julliard
parent 803274ac14
commit 34884b83ad
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ static int parse_date_literal(parser_ctx_t *ctx, DATE *ret)
rptr[len] = 0; rptr[len] = 0;
res = VarDateFromStr(rptr, ctx->lcid, 0, ret); res = VarDateFromStr(rptr, ctx->lcid, 0, ret);
heap_free(rptr); heap_free(rptr);
if (!SUCCEEDED(res)) { if (FAILED(res)) {
FIXME("Invalid date literal\n"); FIXME("Invalid date literal\n");
return 0; return 0;
} }