Mercurial > vim
diff src/gui.c @ 15510:41fbbcea0f1b v8.1.0763
patch 8.1.0763: nobody is using the Sun Workshop support
commit https://github.com/vim/vim/commit/bb1969b6ab28120c93b77817e7b6075e1aecf663
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 17 15:45:25 2019 +0100
patch 8.1.0763: nobody is using the Sun Workshop support
Problem: Nobody is using the Sun Workshop support.
Solution: Remove the Workshop support.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jan 2019 16:00:08 +0100 |
parents | 55ccc2d353bd |
children | 3ef31ce9d9f9 |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -672,10 +672,6 @@ gui_init(void) #ifdef FEAT_MENU gui_create_initial_menus(root_menu); #endif -#ifdef FEAT_SUN_WORKSHOP - if (usingSunWorkShop) - workshop_init(); -#endif #ifdef FEAT_SIGN_ICONS sign_gui_started(); #endif @@ -1604,19 +1600,8 @@ gui_set_shellsize( /* Remember the original window position. */ (void)gui_mch_get_winpos(&x, &y); -#ifdef USE_SUN_WORKSHOP - if (!mustset && usingSunWorkShop - && workshop_get_width_height(&width, &height)) - { - Columns = (width - base_width + gui.char_width - 1) / gui.char_width; - Rows = (height - base_height + gui.char_height - 1) / gui.char_height; - } - else -#endif - { - width = Columns * gui.char_width + base_width; - height = Rows * gui.char_height + base_height; - } + width = Columns * gui.char_width + base_width; + height = Rows * gui.char_height + base_height; if (fit_to_display) { @@ -5128,7 +5113,7 @@ no_console_input(void) } #endif -#if defined(FIND_REPLACE_DIALOG) || defined(FEAT_SUN_WORKSHOP) \ +#if defined(FIND_REPLACE_DIALOG) \ || defined(NEED_GUI_UPDATE_SCREEN) \ || defined(PROTO) /*