]> sourceware.org Git - newlib-cygwin.git/commitdiff
* window.cc (Winmain): Show windows error code in error output when
authorChristopher Faylor <me@cgf.cx>
Tue, 3 Feb 2004 19:41:28 +0000 (19:41 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 3 Feb 2004 19:41:28 +0000 (19:41 +0000)
RegisterClass fails.

winsup/cygwin/ChangeLog
winsup/cygwin/window.cc

index 9413511a79d90c4bd8068137c4ddac0ffac4ab2c..268378f6497e4a414bedc3fe1c3578d5fb5b9eef 100644 (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.
index f9f5da23a42ac9f179799c4b13a15634f2fe8e35..a96337ae1d3ef3f9c783f2ab43b530d26950ade7 100644 (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;
     }
 
This page took 0.029649 seconds and 5 git commands to generate.