tMake GtkURLs Unicode-aware under Win32. - vaccinewars - be a doctor and try to… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b8f9b8713494529edc1e305a2f3a665fc6e52c9d | |
parent 70816929c3600588b49fe43ccae0ac579719a84f | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 2 Sep 2002 13:44:32 +0000 | |
Make GtkURLs Unicode-aware under Win32. | |
Diffstat: | |
M src/gtkport/gtkport.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/gtkport/gtkport.c b/src/gtkport/gtkport.c | |
t@@ -845,8 +845,8 @@ LRESULT CALLBACK GtkUrlProc(HWND hwnd, UINT msg, UINT wPar… | |
SetTextColor(hDC, RGB(0, 0, 0xCC)); | |
SetBkMode(hDC, TRANSPARENT); | |
GetClientRect(hwnd, &wndrect); | |
- DrawText(hDC, text, -1, &wndrect, | |
- DT_CENTER | DT_VCENTER | DT_END_ELLIPSIS); | |
+ myDrawText(hDC, text, -1, &wndrect, | |
+ DT_CENTER | DT_VCENTER | DT_END_ELLIPSIS); | |
SelectObject(hDC, oldFont); | |
EndPaint(hwnd, &ps); | |
} |