diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-08-30 11:53:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-08-30 11:53:22 +0000 |
commit | 367329ba085880811a532f54821e3747027de651 (patch) | |
tree | bbb09d6352e4ea73acf8c13c7d8feb7e74c08e82 /src/gui.c | |
parent | ec8317364b3aa77ff69982da4a7caa3a3dba3891 (diff) |
updated for version 7.1-093v7.1.093
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1080,7 +1080,8 @@ gui_update_cursor(force, clear_selection) cur_width = gui.char_width; } #ifdef FEAT_MBYTE - if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col) > 1) + if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col, + LineOffset[gui.row] + screen_Columns) > 1) { /* Double wide character. */ if (shape_table[idx].shape != SHAPE_VER) @@ -1159,7 +1160,7 @@ gui_position_components(total_width) #endif # if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \ - || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_MAC)) + || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_MAC)) if (gui_has_tabline()) text_area_y += gui.tabline_height; #endif |