From 835c0ca49960e353d7579b2fc3286d7128d38fea Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Mon, 12 May 2003 04:49:20 +0000 Subject: [PATCH] Field is conditionally defined, code referring to it isn't --- src/options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/options.c b/src/options.c index 17075865b..eaeae4039 100644 --- a/src/options.c +++ b/src/options.c @@ -2663,9 +2663,11 @@ char *buf; defopt); else if (!strcmp(optname,"align")) Sprintf(buf, "%s", rolestring(flags.initalign, aligns, adj)); +#ifdef WIN32CON else if (!strcmp(optname,"altkeyhandler")) Sprintf(buf, "%s", iflags.altkeyhandler[0] ? iflags.altkeyhandler : "default"); +#endif else if (!strcmp(optname, "boulder")) Sprintf(buf, "%c", iflags.bouldersym ? iflags.bouldersym : oc_syms[(int)objects[BOULDER].oc_class]); -- 2.40.0