* window.cc (Winmain): Show windows error code in error output when

RegisterClass fails.
This commit is contained in:
Christopher Faylor 2004-02-03 19:41:28 +00:00
parent ac39cfccbd
commit 50be1d78d9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-02-03 Jason Tishler <jason@tishler.net>
* window.cc (Winmain): Show windows error code in error output when
RegisterClass fails.
2004-02-02 Christopher Faylor <cgf@redhat.com>
* fhandler.h (*::fixup_after_exec): Eliminate unused handle argument.

View File

@ -97,7 +97,7 @@ Winmain (VOID *)
if (!RegisterClass (&wc))
{
system_printf ("Cannot register window class");
system_printf ("Cannot register window class, %E");
return FALSE;
}