From 9c9230777e1041df33bda799b92bb1bb3564ce18 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Thu, 9 Jan 2025 13:23:46 +0100 Subject: [PATCH] fix for ncusers --- fm.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) 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 */ -- 2.30.2