Don't call FormatMessage() etc here. Call g_win32_error_message() instead
authorTor Lillqvist <tml@novell.com>
Fri, 12 Sep 2008 00:54:14 +0000 (00:54 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Fri, 12 Sep 2008 00:54:14 +0000 (00:54 +0000)
commit654822b9be19c2c641807bf5b436f2e394a15308
treeb4ef329e4d887920755ae7043d8b59d5ee0d7926
parentb6d834a58890cb93a55520a7473d9d9d8bfde2c7
Don't call FormatMessage() etc here. Call g_win32_error_message() instead

2008-09-12  Tor Lillqvist  <tml@novell.com>

* gwin32appinfo.c (g_win32_app_info_launch): Don't call
FormatMessage() etc here. Call g_win32_error_message() instead
which already does all that. Besides, the code was broken as it
called the default "A" version of FormatMessage() but still
thought it produced a wide string.

svn path=/trunk/; revision=7472
gio/ChangeLog
gio/gwin32appinfo.c