diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-04-04 15:10:46 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-04-04 15:10:46 +0000 |
commit | 3f1e1ec27086e513778a2fc86e249a11ab92fe41 (patch) | |
tree | 75e82b3c8cc0a7321b566c0f831566abb383dae2 /app/xterm/util.c | |
parent | 142e50ea1b148e92d0c6d2b57c5895e7d6b7065a (diff) |
Update to xterm 243. tested by naddy@.
Patch #243 - 2009/3/28
* revert change to default for allowTcapOps (request by Bram Moolenaar).
* reallocate result returned by xtermEnvLocale() to avoid reference to
freed memory after handling menuLocale resource.
* fix an old (X11R5) bug in tek4014 for switching fontsizes.
* add resource defaultString to make configurable the use of "#" when
pastes of UTF-8 text fail due to limitations in the current locale settings.
* make the set of selection target Atom's configurable by two new
resources eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT
Atom in preference to UTF8_STRING (discussion with Stanislav Sedov
regarding koi8rxterm and the FreeBSD port).
* modify handling of TARGETS Atom by making it return exactly the set of
targets as those which xterm is currently providing.
* set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work
around /etc/man.conf's with those variables already set (report by
Mar'yasin Semion).
* improve error-checking of tcap-query parser.
* add check for keyboard tcap), which ensures that terminal descriptions
containing the same string for shifted/unshifted keys will be seen by
tcap-query as only the unshifted key. (This would only happen with an
incorrect terminal description).
* fix conversion for input event-state to modifier-parameter which made
tcap-query feature not work with tcapFunctionKeys (keyboard type tcap).
* add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the
default compiled-in values for "allowxxx" resources.
* remove check on bell-percentage added in patch #242, which disallowed
zero/negative values (Redhat Bugzilla #487829).
Diffstat (limited to 'app/xterm/util.c')
-rw-r--r-- | app/xterm/util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/xterm/util.c b/app/xterm/util.c index 32cf4311e..b8cf5b746 100644 --- a/app/xterm/util.c +++ b/app/xterm/util.c @@ -1,4 +1,4 @@ -/* $XTermId: util.c,v 1.420 2009/02/13 23:38:26 tom Exp $ */ +/* $XTermId: util.c,v 1.421 2009/03/16 00:37:25 tom Exp $ */ /* * Copyright 1999-2008,2009 by Thomas E. Dickey @@ -3104,9 +3104,9 @@ drawXtermText(XtermWidget xw, && text2[src] == 0 && (text[src] == ANSI_DEL || text[src] < ANSI_SPA)) { - int ni = dec2ucs((unsigned) ((text[src] == ANSI_DEL) - ? 0 - : text[src])); + unsigned ni = dec2ucs((unsigned) ((text[src] == ANSI_DEL) + ? 0 + : text[src])); UCS2SBUF(ni); } #endif /* OPT_MINI_LUIT */ |