commit | 027436338b4b3e746ae5087b8a01c7404619d97b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jul 25 20:42:36 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jul 25 20:42:36 2005 +0000 |
tree | bd958bdd54dfad7073d368c34fc8cdcf863df9af | |
parent | c013cb66a6f2403e90a43203e4059b4bb531a8e8 [diff] [blame] |
updated for version 7.0116
diff --git a/src/option.c b/src/option.c index 940c6e7..e177216 100644 --- a/src/option.c +++ b/src/option.c
@@ -7107,7 +7107,9 @@ #ifdef FEAT_GUI else if (pp == &p_linespace) { - if (gui.in_use && gui_mch_adjust_charsize() == OK) + /* Recompute gui.char_height and resize the Vim window to keep the + * same number of lines. */ + if (gui.in_use && gui_mch_adjust_charheight() == OK) gui_set_shellsize(FALSE, FALSE); } #endif