opnsense-ports/sysutils/htop/files/patch-CRT.h
Franco Fichtner 6133f2cca3 */*: sync with upstream
Taken from: FreeBSD
2016-03-17 08:11:52 +01:00

11 lines
297 B
C

--- CRT.h.orig 2016-03-07 21:32:06 UTC
+++ CRT.h
@@ -115,7 +115,7 @@ void CRT_fatalError(const char* note) __
void CRT_handleSIGSEGV(int sgn);
-#define KEY_ALT(x) KEY_F(60) + (x - 'A')
+#define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A'))
extern const char *CRT_treeStrAscii[TREE_STR_COUNT];