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)
This commit is contained in:
Bram Moolenaar
2020-11-21 12:44:56 +01:00
parent d91467f830
commit 2d718267f4
2 changed files with 3 additions and 1 deletions

View File

@ -297,7 +297,7 @@ static struct builtin_term builtin_termcaps[] =
{(int)KS_UE, "\033[0m"}, {(int)KS_UE, "\033[0m"},
{(int)KS_CZH, "\033[3m"}, {(int)KS_CZH, "\033[3m"},
{(int)KS_CZR, "\033[0m"}, {(int)KS_CZR, "\033[0m"},
#if defined(__MORPHOS__) || defined(__AROS__) #if defined(__amigaos4__) || defined(__MORPHOS__) || defined(__AROS__)
{(int)KS_CCO, "8"}, // allow 8 colors {(int)KS_CCO, "8"}, // allow 8 colors
# ifdef TERMINFO # ifdef TERMINFO
{(int)KS_CAB, "\033[4%p1%dm"},// set background color {(int)KS_CAB, "\033[4%p1%dm"},// set background color

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2025,
/**/ /**/
2024, 2024,
/**/ /**/