From 89a9d00d92ea1a41217d9872e55921ca810f2f17 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Thu, 18 Aug 2011 19:47:44 +0000 Subject: Update to xterm 271. Tested by shadchin@ and ajacoutot@ --- app/xterm/xtermcap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/xterm/xtermcap.c') 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; -- cgit v1.2.3