]> git.refcnt.org Git - colorize.git/commitdiff
Exchange color codes for cyan/magenta
authorSteven Schubiger <stsc@refcnt.org>
Sat, 7 Dec 2013 15:55:30 +0000 (16:55 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Sat, 7 Dec 2013 15:55:30 +0000 (16:55 +0100)
Whoops, accidentally swapped.

colorize.c

index 36d7a0a228baa62400697051b7cd044a9ad98144..ab4e786232ec84a0c12ac0d625fe358565a47512 100644 (file)
@@ -121,8 +121,8 @@ static const struct color fg_colors[] = {
     { "green",   "32m" },
     { "yellow",  "33m" },
     { "blue",    "34m" },
-    { "cyan",    "35m" },
-    { "magenta", "36m" },
+    { "magenta", "35m" },
+    { "cyan",    "36m" },
     { "white",   "37m" },
     { "default", "39m" },
 };
@@ -133,8 +133,8 @@ static const struct color bg_colors[] = {
     { "green",   "42m" },
     { "yellow",  "43m" },
     { "blue",    "44m" },
-    { "cyan",    "45m" },
-    { "magenta", "46m" },
+    { "magenta", "45m" },
+    { "cyan",    "46m" },
     { "white",   "47m" },
     { "default", "49m" },
 };