diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-08-18 19:47:44 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-08-18 19:47:44 +0000 |
commit | 89a9d00d92ea1a41217d9872e55921ca810f2f17 (patch) | |
tree | 93bf2b1ec082b82a2e0283bc5a51a5d7832966fb /app/xterm/xtermcap.c | |
parent | 4fb2f769ab80d79b4e1730b1688ee21b130596ed (diff) |
Update to xterm 271. Tested by shadchin@ and ajacoutot@
Diffstat (limited to 'app/xterm/xtermcap.c')
-rw-r--r-- | app/xterm/xtermcap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/xterm/xtermcap.c b/app/xterm/xtermcap.c index a3884db5f..ca537f2f0 100644 --- a/app/xterm/xtermcap.c +++ b/app/xterm/xtermcap.c @@ -1,4 +1,4 @@ -/* $XTermId: xtermcap.c,v 1.45 2011/02/19 20:28:13 tom Exp $ */ +/* $XTermId: xtermcap.c,v 1.47 2011/07/11 00:31:26 tom Exp $ */ /* * Copyright 2007-2010,2011 by Thomas E. Dickey @@ -68,7 +68,7 @@ typedef struct { } TCAPINFO; /* *INDENT-OFF* */ #define DATA(tc,ti,x,y) { tc, ti, x, y } -static TCAPINFO table[] = { +static const TCAPINFO table[] = { /* tcap terminfo code state */ DATA( "%1", "khlp", XK_Help, 0 ), DATA( "#1", "kHLP", XK_Help, SHIFT ), @@ -89,8 +89,8 @@ static TCAPINFO table[] = { DATA( "#4", "kLFT", XK_Left, SHIFT ), DATA( "%i", "kRIT", XK_Right, SHIFT ), - DATA( "kF", "kind", XK_Up, SHIFT ), - DATA( "kR", "kri", XK_Down, SHIFT ), + DATA( "kF", "kind", XK_Down, SHIFT ), + DATA( "kR", "kri", XK_Up, SHIFT ), DATA( "k1", "kf1", XK_Fn(1), 0 ), DATA( "k2", "kf2", XK_Fn(2), 0 ), @@ -345,7 +345,7 @@ lookupTcapByName(const char *name) int xtermcapKeycode(XtermWidget xw, const char **params, unsigned *state, Bool * fkey) { - TCAPINFO *data; + const TCAPINFO *data; int which; int code = -1; char *name; |