Commit 7d7d7992 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

kernel32: Trace the last error on failure.

parent 806edcc4
...@@ -185,10 +185,10 @@ static void update_resources_version(void) ...@@ -185,10 +185,10 @@ static void update_resources_version(void)
MAKEINTRESOURCE(0x4567), MAKEINTRESOURCE(0x4567),
0xabcd, 0xabcd,
foo, sizeof foo ); foo, sizeof foo );
ok( r == TRUE, "UpdateResource failed\n"); ok( r == TRUE, "UpdateResource failed: %d\n", GetLastError());
r = EndUpdateResource( res, FALSE ); r = EndUpdateResource( res, FALSE );
ok( r, "EndUpdateResource failed\n"); ok( r, "EndUpdateResource failed: %d\n", GetLastError());
} }
......
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