mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Fix Double Wide Glyph Rendering (#664)
* Fix Double Wide Glyph Rendering Applying the suggestions mentioned in this diff and tested locally. https://github.com/macvim-dev/macvim/pull/648 * Fix style suggestion * fixup another suggestion
This commit is contained in:
committed by
Kazuki Sakamoto
parent
1b4f57d1dd
commit
f53f99012c
+4
-1
@@ -8391,7 +8391,10 @@ screen_char(unsigned off, int row, int col)
|
||||
}
|
||||
/* not sure where the cursor is after drawing the ambiguous width
|
||||
* character */
|
||||
screen_cur_col = 9999;
|
||||
# ifdef FEAT_GUI_MACVIM
|
||||
if (*p_ambw == 'd' || !gui.in_use)
|
||||
# endif
|
||||
screen_cur_col = 9999;
|
||||
}
|
||||
else if (utf_char2cells(ScreenLinesUC[off]) > 1)
|
||||
++screen_cur_col;
|
||||
|
||||
Reference in New Issue
Block a user