]> granicus.if.org Git - vim/commitdiff
patch 8.2.2025: Amiga: Not all colors are used on OS4 v8.2.2025
authorBram Moolenaar <Bram@vim.org>
Sat, 21 Nov 2020 11:44:56 +0000 (12:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 21 Nov 2020 11:44:56 +0000 (12:44 +0100)
Problem:    Amiga: Not all colors are used on OS4.
Solution:   Adjust the #ifdef to include __amigaos4__. (Ola Söder,
            closes #7328)

src/term.c
src/version.c

index 56f6e0a93cda1f4c310952924daa39d224d653b3..77675b2e3270a1f04cc06f4d4dc0b1d8006f64b4 100644 (file)
@@ -297,7 +297,7 @@ static struct builtin_term builtin_termcaps[] =
     {(int)KS_UE,       "\033[0m"},
     {(int)KS_CZH,      "\033[3m"},
     {(int)KS_CZR,      "\033[0m"},
-#if defined(__MORPHOS__) || defined(__AROS__)
+#if defined(__amigaos4__) || defined(__MORPHOS__) || defined(__AROS__)
     {(int)KS_CCO,      "8"},           // allow 8 colors
 #  ifdef TERMINFO
     {(int)KS_CAB,      "\033[4%p1%dm"},// set background color
index ca29e34d217c1a1505f5fec050b90e80afb77aee..d7e1fee6e6bcd5d7433af8b362c9efaa9816e1f9 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2025,
 /**/
     2024,
 /**/