]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/window.c
Patch from Robert de Bath to ifdef out the Windows-specific hack for
[PuTTY.git] / windows / window.c
index 80ca79559c5dbad477100756c0d1db88f7ee6391..4425e191fcdf2f9b50d4035687f021b0b3c8024a 100644 (file)
@@ -3371,6 +3371,7 @@ void do_text_internal(Context ctx, int x, int y, wchar_t *text, int len,
     if (attr & ATTR_NARROW)
        nfont |= FONT_NARROW;
 
+#ifdef USES_VTLINE_HACK
     /* Special hack for the VT100 linedraw glyphs. */
     if (text[0] >= 0x23BA && text[0] <= 0x23BD) {
        switch ((unsigned char) (text[0])) {
@@ -3395,6 +3396,7 @@ void do_text_internal(Context ctx, int x, int y, wchar_t *text, int len,
            force_manual_underline = 1;
        }
     }
+#endif
 
     /* Anything left as an original character set is unprintable. */
     if (DIRECT_CHAR(text[0]) &&