changeset 23003:b37d22c73eca v8.2.2048

patch 8.2.2048: Amiga: obsolete code Commit: https://github.com/vim/vim/commit/3a3b6910421ee1d03c222efc62d61b9fb879d931 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 25 15:52:31 2020 +0100 patch 8.2.2048: Amiga: obsolete code Problem: Amiga: obsolete code. Solution: Remove the unused lines. (Ola S?der, closes https://github.com/vim/vim/issues/7373)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Nov 2020 16:00:05 +0100
parents afbb070a1828
children 8701c7d190a5
files src/gui.c src/version.c
diffstat 2 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -2412,21 +2412,13 @@ gui_outstr_nowrap(
 
     if (highlight_mask & (HL_INVERSE | HL_STANDOUT))
     {
-#if defined(AMIGA)
-	gui_mch_set_colors(bg_color, fg_color);
-#else
 	gui_mch_set_fg_color(bg_color);
 	gui_mch_set_bg_color(fg_color);
-#endif
     }
     else
     {
-#if defined(AMIGA)
-	gui_mch_set_colors(fg_color, bg_color);
-#else
 	gui_mch_set_fg_color(fg_color);
 	gui_mch_set_bg_color(bg_color);
-#endif
     }
     gui_mch_set_sp_color(sp_color);
 
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2048,
+/**/
     2047,
 /**/
     2046,