changeset 22956:9c8af140b2da v8.2.2025

patch 8.2.2025: Amiga: Not all colors are used on OS4 Commit: https://github.com/vim/vim/commit/2d718267f4b7dcd65261c9f2acd59a6f6bdc8641 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 21 12:44:56 2020 +0100 patch 8.2.2025: Amiga: Not all colors are used on OS4 Problem: Amiga: Not all colors are used on OS4. Solution: Adjust the #ifdef to include __amigaos4__. (Ola S?der, closes #7328)
author Bram Moolenaar <Bram@vim.org>
date Sat, 21 Nov 2020 13:00:03 +0100
parents 4cb724978552
children 80212aa40750
files src/term.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -297,7 +297,7 @@ static struct builtin_term builtin_termc
     {(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
--- 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 */
 /**/
+    2025,
+/**/
     2024,
 /**/
     2023,