diff options
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r-- | src/gui_mac.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c index dea648ac8..8803487de 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -3899,6 +3899,11 @@ draw_string_QD(int row, int col, char_u *s, int len, int flags) MoveTo(FILL_X(col), FILL_Y(row + 1) - 1); LineTo(FILL_X(col + len) - 1, FILL_Y(row + 1) - 1); } + if (flags & DRAW_STRIKE) + { + MoveTo(FILL_X(col), FILL_Y(row + 1) - gui.char_height/2); + LineTo(FILL_X(col + len) - 1, FILL_Y(row + 1) - gui.char_height/2); + } } if (flags & DRAW_UNDERC) |