Rev 154 | Rev 171 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 154 | Rev 160 | ||
|---|---|---|---|
| Line 381... | Line 381... | ||
| 381 | // help menu, report a problem to the author |
381 | // help menu, report a problem to the author |
| 382 | else if (wParam_loword == MENUID_HELP_REPORTAPROBLEM) |
382 | else if (wParam_loword == MENUID_HELP_REPORTAPROBLEM) |
| 383 | { |
383 | { |
| 384 | // send the game engine history to the author and display an error message if failed |
384 | // send the game engine history to the author and display an error message if failed |
| 385 | if (MessageBox (hMainWnd, LOCALIZE (L"ReportAProblem"), LOCALIZE (L"ImportantMessage"), MB_ICONQUESTION | MB_YESNOCANCEL | MB_DEFBUTTON3) == IDYES) |
385 | if (MessageBox (hMainWnd, LOCALIZE (L"ReportAProblem"), LOCALIZE (L"ImportantMessage"), MB_ICONQUESTION | MB_YESNOCANCEL | MB_DEFBUTTON3) == IDYES) |
| 386 | if (Debug_SendLogToAuthor ()) |
386 | if (Debug_SendLogToAuthor (true)) // with user description |
| 387 | MessageBox (hMainWnd, LOCALIZE (L"MessageSent"), PROGRAM_NAME, MB_ICONINFORMATION | MB_OK); |
387 | MessageBox (hMainWnd, LOCALIZE (L"MessageSent"), PROGRAM_NAME, MB_ICONINFORMATION | MB_OK); |
| 388 | else |
388 | else |
| 389 | MessageBox (hMainWnd, LOCALIZE (L"NoInternetConnection"), LOCALIZE (L"FatalError"), MB_ICONWARNING | MB_OK); |
389 | MessageBox (hMainWnd, LOCALIZE (L"NoInternetConnection"), LOCALIZE (L"FatalError"), MB_ICONWARNING | MB_OK); |
| 390 | } |
390 | } |
| 391 | 391 | ||