* unrealistic, since even Vista will have it if the user
* specifically downloads it.
*/
- return (help_path
+ return (help_path != NULL
#ifndef NO_HTMLHELP
|| chm_path
#endif /* NO_HTMLHELP */
#endif /* NO_HTMLHELP */
if (help_path) {
char *cmd = dupprintf("JI(`',`%.*s')", colonpos, topic);
- WinHelp(hwnd, help_path, HELP_COMMAND, (DWORD)cmd);
+ WinHelp(hwnd, help_path, HELP_COMMAND, (ULONG_PTR)cmd);
sfree(cmd);
}
} else {