From 797820f80a00529ef7c6c6ae4e8d9e3b8ab257af Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Tue, 1 Nov 2005 13:09:05 +0000 Subject: [PATCH] don't display UTF-8 characters as questionmarks in xterm title (#170971) --- mc-utf8.patch | 2 +- mc.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mc-utf8.patch b/mc-utf8.patch index 824385b..9709810 100644 --- a/mc-utf8.patch +++ b/mc-utf8.patch @@ -569,7 +569,7 @@ +#ifndef UTF8 if (!is_printable ((unsigned char) *s)) +#else /* UTF8 */ -+ if (*s < ' ') ++ if (*(unsigned char *)s < ' ') +#endif /* UTF8 */ *s = '?'; } while (*++s); diff --git a/mc.spec b/mc.spec index d6d93e8..b0066b2 100644 --- a/mc.spec +++ b/mc.spec @@ -1,7 +1,7 @@ Summary: User-friendly text console file manager and visual shell. Name: mc Version: 4.6.1a -Release: 0.19 +Release: 0.20 Epoch: 1 License: GPL Group: System Environment/Shells @@ -175,6 +175,9 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/mc %changelog +* Tue Oct 25 2005 Jindrich Novy 4.6.1a-0.20 +- don't display UTF-8 characters as questionmarks in xterm title (#170971) + * Mon Oct 16 2005 Jindrich Novy 4.6.1a-0.19 - update from CVS - convert spec to UTF-8