don't display UTF-8 characters as questionmarks in xterm title (#170971)

This commit is contained in:
Jindrich Novy 2005-11-01 13:09:05 +00:00
parent 4365f4769d
commit 797820f80a
2 changed files with 5 additions and 2 deletions

View File

@ -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);

View File

@ -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 <jnovy@redhat.com> 4.6.1a-0.20
- don't display UTF-8 characters as questionmarks in xterm title (#170971)
* Mon Oct 16 2005 Jindrich Novy <jnovy@redhat.com> 4.6.1a-0.19
- update from CVS
- convert spec to UTF-8