Soft'N'Design Software
/
projects
/
fm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51d6f4c
)
fix for ncusers
author
Laurent Mazet
<mazet@softndesign.org>
Thu, 9 Jan 2025 12:23:46 +0000
(13:23 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Thu, 9 Jan 2025 12:23:46 +0000
(13:23 +0100)
fm.c
patch
|
blob
|
blame
|
history
diff --git
a/fm.c
b/fm.c
index e2253ec1b8a196e39a387022b07227e4721a5f06..69d931d66fc8332865c137b16d2c720ae8bf3ed9 100644
(file)
--- 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 */