#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
-#include <limits.h>
#include "winstuff.h"
#include "misc.h"
*/
struct filereq_tag {
- TCHAR cwd[PATH_MAX];
+ TCHAR cwd[MAX_PATH];
};
/*
*/
BOOL request_file(filereq *state, OPENFILENAME *of, int preserve, int save)
{
- TCHAR cwd[PATH_MAX]; /* process CWD */
+ TCHAR cwd[MAX_PATH]; /* process CWD */
BOOL ret;
/* Get process CWD */
} while (0)
CHECK_CTX(errors_hostkey_absent);
CHECK_CTX(errors_hostkey_changed);
+ CHECK_CTX(errors_cantloadkey);
+ CHECK_CTX(option_cleanup);
#undef CHECK_CTX
if (context) {
/* We avoid using malloc, in case we're in a situation where
* callback function for the Help button.
*/
mbox.cbSize = sizeof(mbox);
- /* FIXME: assumes global hwnd and hinst are always the Right Thing;
- * are they? */
+ /* Assumes the globals `hinst' and `hwnd' have sensible values. */
mbox.hInstance = hinst;
mbox.hwndOwner = hwnd;
mbox.lpfnMsgBoxCallback = &message_box_help_callback;