diff --git a/windows/winctrls.c b/windows/winctrls.c index ea1cc182..428b6e55 100644 --- a/windows/winctrls.c +++ b/windows/winctrls.c @@ -372,7 +372,6 @@ void checkbox(struct ctlpos *cp, char *text, int id) char *staticwrap(struct ctlpos *cp, HWND hwnd, char *text, int *lines) { HDC hdc = GetDC(hwnd); - int lpx = GetDeviceCaps(hdc, LOGPIXELSX); int width, nlines, j; INT *pwidths, nfit; SIZE size;