Rev 50 | Rev 75 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 50 | Rev 59 | ||
---|---|---|---|
Line 319... | Line 319... | ||
319 | Window_MOTD (); |
319 | Window_MOTD (); |
320 | 320 | ||
321 | // help menu, help |
321 | // help menu, help |
322 | else if (wParam_loword == MENUID_HELP_HELP) |
322 | else if (wParam_loword == MENUID_HELP_HELP) |
323 | { |
323 | { |
324 | swprintf_s (folder_path, WCHAR_SIZEOF (folder_path), L"%s\\Chess Giants (%s).html", app_path, |
324 | swprintf_s (folder_path, WCHAR_SIZEOF (folder_path), L"%s\\Chess Giants (%s).html", app_path, languages[language_id].name); |
- | 325 | if (_waccess (folder_path, 0) != 0) |
|
- | 326 | swprintf_s (folder_path, WCHAR_SIZEOF (folder_path), L"%s\\Chess Giants (English).html", app_path); |
|
325 | ShellExecute (NULL, L"open", folder_path, NULL, NULL, SW_MAXIMIZE); // fire up the help file |
327 | ShellExecute (NULL, L"open", folder_path, NULL, NULL, SW_MAXIMIZE); // fire up the help file |
326 | } |
328 | } |
327 | 329 | ||
328 | // help menu, get chess games |
330 | // help menu, get chess games |
329 | else if (wParam_loword == MENUID_HELP_GETCHESSGAMES) |
331 | else if (wParam_loword == MENUID_HELP_GETCHESSGAMES) |