Turn off paste-as-poorman for line drawing chars until it's configurable
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Oct 2000 16:02:08 +0000 (16:02 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Oct 2000 16:02:08 +0000 (16:02 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@702 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index a14fb9d..7d3c60c 100644 (file)
@@ -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++;
                }