[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-devel] Changes to qemacs/tty.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-devel] Changes to qemacs/tty.c |
Date: |
Sun, 08 May 2005 23:19:37 -0400 |
Index: qemacs/tty.c
diff -u qemacs/tty.c:1.7 qemacs/tty.c:1.8
--- qemacs/tty.c:1.7 Mon May 9 02:51:04 2005
+++ qemacs/tty.c Mon May 9 03:19:36 2005
@@ -108,7 +108,7 @@
/* test UTF8 support by looking at the cursor position (idea from
Ricardas Cepas <address@hidden>). Since uClibc actually tests
to ensure that the format string is a valid multibyte sequence
- in the current locale (ANSI/ISO C99), use a format specifer of
+ in the current locale (ANSI/ISO C99), use a format specifier of
%s to avoid printf() failing with EILSEQ. */
{
int y, x;
@@ -639,12 +639,7 @@
buf[0] = '.';
buf[1] = '\0';
} else {
- /* need a kludge for linedrawing chars */
- if (cc == 0x2500 || cc == 'x') {
- strcpy(buf, "\016x\017");
- } else {
- unicode_to_charset(buf, cc, s->charset);
- }
+ unicode_to_charset(buf, cc, s->charset);
}
if (x != s->width - 1 || y != s->height - 1)
printf("%s", buf);
- [Qemacs-devel] Changes to qemacs/tty.c, Charlie Gordon, 2005/05/08
- [Qemacs-devel] Changes to qemacs/tty.c, Charlie Gordon, 2005/05/08
- [Qemacs-devel] Changes to qemacs/tty.c,
Charlie Gordon <=
- [Qemacs-devel] Changes to qemacs/tty.c, Charlie Gordon, 2005/05/08
- [Qemacs-devel] Changes to qemacs/tty.c, Charlie Gordon, 2005/05/08
- [Qemacs-devel] Changes to qemacs/tty.c, Charlie Gordon, 2005/05/09
- [Qemacs-devel] Changes to qemacs/tty.c, Charlie Gordon, 2005/05/09
- [Qemacs-devel] Changes to qemacs/tty.c, Charlie Gordon, 2005/05/11