From 134418abf77438979430f92747902a00e4473f52 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 15 Mar 2005 14:24:45 +0000 Subject: [PATCH] Oops. Just noticed that the Windows front end completely ignores the `colour' parameter in draw_text(). [originally from svn r5507] --- windows.c | 1 + 1 file changed, 1 insertion(+) diff --git a/windows.c b/windows.c index 2833969..127311e 100644 --- a/windows.c +++ b/windows.c @@ -227,6 +227,7 @@ void draw_text(frontend *fe, int x, int y, int fonttype, int fontsize, x -= size.cx; } SetBkMode(fe->hdc_bm, TRANSPARENT); + SetTextColor(fe->hdc_bm, fe->colours[colour]); TextOut(fe->hdc_bm, x, y, text, strlen(text)); SelectObject(fe->hdc_bm, oldfont); }