(svn r7467) -Cleanup: [win32] Disable the submit-savegame-on-crash code as we (webserver)
authorDarkvater
Sun, 10 Dec 2006 11:40:31 +0000
changeset 5311 9a20c2d925da
parent 5310 3ce198917af0
child 5312 884ebccbd847
(svn r7467) -Cleanup: [win32] Disable the submit-savegame-on-crash code as we (webserver)
doesn't do anything with it and the button has been disabled for ages.
win32.c
--- a/win32.c	Sun Dec 10 11:37:22 2006 +0000
+++ b/win32.c	Sun Dec 10 11:40:31 2006 +0000
@@ -223,6 +223,9 @@
 	return true;
 }
 
+/* Disable the crash-save submit code as it's not used */
+#if 0
+
 typedef struct {
 	HINTERNET (WINAPI *InternetOpen)(LPCTSTR,DWORD, LPCTSTR, LPCTSTR, DWORD);
 	HINTERNET (WINAPI *InternetConnect)(HINTERNET, LPCTSTR, INTERNET_PORT, LPCTSTR, LPCTSTR, DWORD, DWORD, DWORD);
@@ -321,6 +324,8 @@
 	CloseHandle(h);
 }
 
+#endif /* Disabled crash-submit procedures */
+
 static const TCHAR * const _expand_texts[] = {_T("S&how report >>"), _T("&Hide report <<") };
 
 static void SetWndSize(HWND wnd, int mode)
@@ -381,6 +386,8 @@
 						MessageBox(wnd, _T("Save failed"), _T("Save failed"), MB_ICONINFORMATION);
 					}
 					break;
+/* Disable the crash-save submit code as it's not used */
+#if 0
 				case 14: { /* Submit crash report */
 					const TCHAR *s;
 
@@ -405,6 +412,7 @@
 					SetCursor(LoadCursor(NULL, IDC_ARROW));
 					MessageBox(wnd, _T("Crash report submitted. Thank you."), _T("Crash Report"), MB_ICONINFORMATION);
 				}	break;
+#endif /* Disabled crash-submit procedures */
 				case 15: /* Expand window to show crash-message */
 					_expanded ^= 1;
 					SetWndSize(wnd, _expanded);