Commit 34884b83 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

vbscript: Avoid negating SUCCEEDED().

parent 803274ac
......@@ -237,7 +237,7 @@ static int parse_date_literal(parser_ctx_t *ctx, DATE *ret)
rptr[len] = 0;
res = VarDateFromStr(rptr, ctx->lcid, 0, ret);
heap_free(rptr);
if (!SUCCEEDED(res)) {
if (FAILED(res)) {
FIXME("Invalid date literal\n");
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment