chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GTK 3 port: stop getting default bg colour from the window style.
[sgt-puzzles.git]
/
windows.c
diff --git
a/windows.c
b/windows.c
index fde1e6b5c02517affdd89a783f86e22d9a00f209..ba657c0d33ad2089aed6604b77086a29cd4544df 100644
(file)
--- a/
windows.c
+++ b/
windows.c
@@
-608,7
+608,7
@@
static void win_draw_text(void *handle, int x, int y, int fonttype,
HFONT oldfont;
TEXTMETRIC tm;
SIZE size;
-
T
CHAR wText[256];
+
W
CHAR wText[256];
MultiByteToWideChar (CP_UTF8, 0, text, -1, wText, 256);
oldfont = SelectObject(fe->hdc, fe->fonts[i].font);