mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 20:12:48 -05:00
Patch from Robert de Bath to ifdef out the Windows-specific hack for
the offset horizontal line characters in the VT100 line-drawing set (o,p,r,s), so that no trace of it - and hence no pointless performance hit - is compiled into the cross-platform modules on non-Windows platforms. [originally from svn r9467]
This commit is contained in:
@ -5019,11 +5019,13 @@ static void do_paint(Terminal *term, Context ctx, int may_optimise)
|
||||
|
||||
break_run = ((tattr ^ attr) & term->attr_mask) != 0;
|
||||
|
||||
#ifdef USES_VTLINE_HACK
|
||||
/* Special hack for VT100 Linedraw glyphs */
|
||||
if ((tchar >= 0x23BA && tchar <= 0x23BD) ||
|
||||
(j > 0 && (newline[j-1].chr >= 0x23BA &&
|
||||
newline[j-1].chr <= 0x23BD)))
|
||||
break_run = TRUE;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Separate out sequences of characters that have the
|
||||
|
Reference in New Issue
Block a user