diff options
Diffstat (limited to 'linden/indra/win_crash_logger')
-rw-r--r-- | linden/indra/win_crash_logger/llcrashloggerwindows.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/win_crash_logger/llcrashloggerwindows.cpp b/linden/indra/win_crash_logger/llcrashloggerwindows.cpp index 65c91be..e719d30 100644 --- a/linden/indra/win_crash_logger/llcrashloggerwindows.cpp +++ b/linden/indra/win_crash_logger/llcrashloggerwindows.cpp | |||
@@ -319,7 +319,8 @@ bool LLCrashLoggerWindows::mainLoop() | |||
319 | else if (mCrashBehavior == CRASH_BEHAVIOR_ASK) | 319 | else if (mCrashBehavior == CRASH_BEHAVIOR_ASK) |
320 | { | 320 | { |
321 | gHwndReport = CreateDialog(hInst, MAKEINTRESOURCE(IDD_PREVREPORTBOX), 0, NULL); | 321 | gHwndReport = CreateDialog(hInst, MAKEINTRESOURCE(IDD_PREVREPORTBOX), 0, NULL); |
322 | LRESULT result = SendDlgItemMessage(gHwndReport, IDC_CHECK_AUTO, BM_SETCHECK, 1, 0); | 322 | // Ignore result |
323 | (void) SendDlgItemMessage(gHwndReport, IDC_CHECK_AUTO, BM_SETCHECK, 1, 0); | ||
323 | // Include the product name in the caption and various dialog items. | 324 | // Include the product name in the caption and various dialog items. |
324 | ProcessCaption(gHwndReport); | 325 | ProcessCaption(gHwndReport); |
325 | ProcessDlgItemText(gHwndReport, IDC_STATIC_MSG); | 326 | ProcessDlgItemText(gHwndReport, IDC_STATIC_MSG); |
@@ -340,6 +341,7 @@ bool LLCrashLoggerWindows::mainLoop() | |||
340 | ShowWindow(gHwndReport, SW_SHOW ); | 341 | ShowWindow(gHwndReport, SW_SHOW ); |
341 | 342 | ||
342 | MSG msg; | 343 | MSG msg; |
344 | msg.wParam = 0; | ||
343 | while (!LLApp::isQuitting() && GetMessage(&msg, NULL, 0, 0)) | 345 | while (!LLApp::isQuitting() && GetMessage(&msg, NULL, 0, 0)) |
344 | { | 346 | { |
345 | TranslateMessage(&msg); | 347 | TranslateMessage(&msg); |