JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Make nyancat(1) work. Important release feature!
authorChristoph Lohmann <20h@r-36.net>
Wed, 12 Sep 2012 11:20:10 +0000 (13:20 +0200)
committerChristoph Lohmann <20h@r-36.net>
Wed, 12 Sep 2012 11:20:10 +0000 (13:20 +0200)
st.c

diff --git a/st.c b/st.c
index 5e8cf02..75c6cea 100644 (file)
--- a/st.c
+++ b/st.c
@@ -1204,7 +1204,7 @@ tsetattr(int *attr, int l) {
                        else if(BETWEEN(attr[i], 90, 97))
                                term.c.attr.fg = attr[i] - 90 + 8;
                        else if(BETWEEN(attr[i], 100, 107))
-                               term.c.attr.fg = attr[i] - 100 + 8;
+                               term.c.attr.bg = attr[i] - 100 + 8;
                        else
                                fprintf(stderr, "erresc(default): gfx attr %d unknown\n", attr[i]), csidump();
                        break;