From dcfa5de155ccd04921b36826cd705fb16af74248 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 10 Oct 2000 16:02:08 +0000 Subject: [PATCH] Turn off paste-as-poorman for line drawing chars until it's configurable git-svn-id: svn://svn.tartarus.org/sgt/putty@702 cda61777-01e9-0310-a592-d414129be87e --- terminal.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/terminal.c b/terminal.c index a14fb9dc..7d3c60ca 100644 --- a/terminal.c +++ b/terminal.c @@ -2055,24 +2055,27 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) { } while (q < nlpos && q < selend) { +#if 0 /* VT Specials -> ISO8859-1 */ static const char poorman2[] = "* # HTFFCRLF\xB0 \xB1 NLVT+ + + + + - - - - - + + + + | <=>=PI!=\xA3 \xB7 "; +#endif int ch = (*q & CHAR_MASK); - if ((*q & ATTR_LINEDRW) && ch >= 0x60 && ch < 0x7F ) - { +#if 0 + if ((*q & ATTR_LINEDRW) && ch >= 0x60 && ch < 0x7F) { int x; *p++ = poorman2[2*(ch-0x60)]; if ( (x = poorman2[2*(ch-0x60)+1]) != ' ') *p++ = x; - } + } else +#endif #if 0 - else if ((*q & ATTR_GBCHR) && ch == '#') + if ((*q & ATTR_GBCHR) && ch == '#') *p++ = (unsigned char) 0xA3; -#endif else +#endif *p++ = (unsigned char) ch; q++; } -- 2.11.0