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:
parent
803274ac14
commit
34884b83ad
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue