Merge pull request #5613 from maron2000/fix_color

Fix a couple of typos in COLOR command
This commit is contained in:
Jonathan Campbell 2025-03-31 12:25:24 -07:00 committed by GitHub
commit dce72c6f1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8644,7 +8644,7 @@ void COLORPGM::Run()
else if (fg=='5'||tolower(fg)=='d') else if (fg=='5'||tolower(fg)=='d')
fgc=35; fgc=35;
else if (fg=='6'||tolower(fg)=='e') else if (fg=='6'||tolower(fg)=='e')
fgc=32; fgc=33;
else if (fg=='7'||tolower(fg)=='f') else if (fg=='7'||tolower(fg)=='f')
fgc=37; fgc=37;
else else
@ -8662,7 +8662,7 @@ void COLORPGM::Run()
else if (bg=='5'||tolower(bg)=='d') else if (bg=='5'||tolower(bg)=='d')
bgc=45; bgc=45;
else if (bg=='6'||tolower(bg)=='e') else if (bg=='6'||tolower(bg)=='e')
bgc=42; bgc=43;
else if (bg=='7'||tolower(bg)=='f') else if (bg=='7'||tolower(bg)=='f')
bgc=47; bgc=47;
else else
@ -8691,7 +8691,7 @@ void COLORPGM::Run()
else if (fg=='5'||tolower(fg)=='d') else if (fg=='5'||tolower(fg)=='d')
fgc=35; fgc=35;
else if (fg=='6'||tolower(fg)=='e') else if (fg=='6'||tolower(fg)=='e')
fgc=32; fgc=33;
else if (fg=='7'||tolower(fg)=='f') else if (fg=='7'||tolower(fg)=='f')
fgc=37; fgc=37;
else else
@ -8702,7 +8702,7 @@ void COLORPGM::Run()
bg='0'; bg='0';
bgc=40; bgc=40;
fg='7'; fg='7';
bgc=37; fgc=37;
} }
else else
back=true; back=true;