Commit 3b91403e authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

user32/tests: Avoid an unneeded lstrlenA() call.

Note that ptr may be NULL (see ok() check a few lines up). Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e248170e
......@@ -1977,7 +1977,7 @@ static void test_DdeCreateDataHandle(void)
ok(size == 262, "Expected 262, got %d\n", size);
todo_wine
{
ok(lstrlenA((LPSTR)ptr) == 0, "Expected 0, got %d\n", lstrlenA((LPSTR)ptr));
ok(ptr && !*ptr, "Expected 0, got %d\n", lstrlenA((LPSTR)ptr));
}
ret = DdeUnaccessData(hdata);
......
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