summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-05-30 23:33:47 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-30 23:33:47 (GMT)
commit03a048afe548b4fcbf281b5e3cb593f006c1d087 (patch)
tree0550394b7f27dad037d43ce0ebcc293e560f6b45 /src/graphics.c
parent7a875dd846ba7f28e54350e5f3b9d8836b7d069d (diff)
downloadpowder-03a048afe548b4fcbf281b5e3cb593f006c1d087.zip
powder-03a048afe548b4fcbf281b5e3cb593f006c1d087.tar.gz
Add calm blue text colour, buffer overflow fix for richtext
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 94c043f..93edd41 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -861,6 +861,11 @@ int drawtext(pixel *vid, int x, int y, const char *s, int r, int g, int b, int a
r = g = 0;
b = 255;
break;
+ case 't':
+ b = 255;
+ g = 170;
+ r = 32;
+ break;
}
s++;
}