fix for ncusers
authorLaurent Mazet <mazet@softndesign.org>
Thu, 9 Jan 2025 12:23:46 +0000 (13:23 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Thu, 9 Jan 2025 12:23:46 +0000 (13:23 +0100)
fm.c

diff --git a/fm.c b/fm.c
index e2253ec1b8a196e39a387022b07227e4721a5f06..69d931d66fc8332865c137b16d2c720ae8bf3ed9 100644 (file)
--- a/fm.c
+++ b/fm.c
 #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 */