From: Laurent Mazet Date: Thu, 9 Jan 2025 12:23:46 +0000 (+0100) Subject: fix for ncusers X-Git-Tag: v1.0~59 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=9c9230777e1041df33bda799b92bb1bb3564ce18;p=fm.git fix for ncusers --- diff --git a/fm.c b/fm.c index e2253ec..69d931d 100644 --- a/fm.c +++ b/fm.c @@ -19,10 +19,20 @@ #define MAXPANES 2 #define MAXSTATUS 128 -#ifdef PDCURSES #define ALT_(x) ALT_##x -#else -#define ALT_(x) '#x' +#ifndef PDCURSES +#define ALT_H 'h' +#define ALT_V 'v' +#define ALT_E 'e' +#define ALT_C 'c' +#define ALT_M 'm' +#define ALT_R 'r' +#define ALT_D 'd' +#define ALT_N 'n' +#define ALT_S 's' +#define ALT_F 'f' +#define ALT_X 'x' +#define ALT_Q 'q' #endif /* static variables */