From: Simon Tatham Date: Tue, 15 Mar 2005 14:24:45 +0000 (+0000) Subject: Oops. Just noticed that the Windows front end completely ignores the X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=134418abf77438979430f92747902a00e4473f52;p=sgt-puzzles.git Oops. Just noticed that the Windows front end completely ignores the `colour' parameter in draw_text(). [originally from svn r5507] --- 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); }