Problem: Multibyte vertical separator is cleared when dragging a popup
window using a multi-byte character for the border.
Solution: Only clear the character before the window if it is double width.
(closes #6766)
// double-wide character. Clear the left half to avoid it getting the popup
// window background color.
if (coloff > 0 && ScreenLines[off_to] == 0
- && ScreenLinesUC[off_to - 1] != 0)
+ && ScreenLinesUC[off_to - 1] != 0
+ && (*mb_char2cells)(ScreenLinesUC[off_to - 1]) > 1)
{
ScreenLines[off_to - 1] = ' ';
ScreenLinesUC[off_to - 1] = 0;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1514,
/**/
1513,
/**/