From 0572b5d879aec3454751a88f8171c212236c77e0 Mon Sep 17 00:00:00 2001 From: simon 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(). git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5507 cda61777-01e9-0310-a592-d414129be87e --- 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); } -- 2.11.0