Changes to qemacs/tty.c

Charlie Gordon <[email protected]>
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
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 <[email protected]>). 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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.