tMake it more obvious where the wrong attribute is used. - st - [fork] customiz… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 588ba51a539d18de5f9497a38ab7875e7b3e1429 | |
parent c79df9f78d0defed1c7420201416c10768c46076 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sun, 2 Sep 2012 19:42:00 +0200 | |
Make it more obvious where the wrong attribute is used. | |
Diffstat: | |
M st.c | 7 +++---- | |
1 file changed, 3 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -1128,7 +1128,7 @@ tsetattr(int *attr, int l) { | |
fprintf(stderr, "erresc: bad fgcolor %… | |
} | |
else | |
- fprintf(stderr, "erresc: gfx attr %d unknown\n… | |
+ fprintf(stderr, "erresc(38): gfx attr %d unkno… | |
break; | |
case 39: | |
term.c.attr.fg = DefaultFG; | |
t@@ -1142,7 +1142,7 @@ tsetattr(int *attr, int l) { | |
fprintf(stderr, "erresc: bad bgcolor %… | |
} | |
else | |
- fprintf(stderr, "erresc: gfx attr %d unknown\n… | |
+ fprintf(stderr, "erresc(48): gfx attr %d unkno… | |
break; | |
case 49: | |
term.c.attr.bg = DefaultBG; | |
t@@ -1157,8 +1157,7 @@ tsetattr(int *attr, int l) { | |
else if(BETWEEN(attr[i], 100, 107)) | |
term.c.attr.fg = attr[i] - 100 + 8; | |
else | |
- fprintf(stderr, "erresc: gfx attr %d unknown\n… | |
- | |
+ fprintf(stderr, "erresc(default): gfx attr %d … | |
break; | |
} | |
} |