changeset 14943:77ca54a3af31

[gaim-migrate @ 17714] Also print the error to the console. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 09 Nov 2006 20:21:13 +0000
parents 93107520981e
children 5447eef2461a
files gtk/win32/win_gaim.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/win32/win_gaim.c	Thu Nov 09 20:13:26 2006 +0000
+++ b/gtk/win32/win_gaim.c	Thu Nov 09 20:21:13 2006 +0000
@@ -557,6 +557,7 @@
 		snprintf(errbuf, 512,
 			"Error getting module filename.\nError: (%u) %s",
 			(UINT) dw, err_msg);
+		printf(errbuf);
 		MessageBox(NULL, errbuf, NULL, MB_OK | MB_TOPMOST);
 	}
 
@@ -587,6 +588,7 @@
 			(UINT) dw, err_msg,
 			mod_not_found ? "\n" : "",
 			mod_not_found ? "This probably means that GTK+ can't be found." : "");
+		printf(errbuf);
 		MessageBox(NULL, errbuf, TEXT("Error"), MB_OK | MB_TOPMOST);
 
 		return 0;