X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinctrls.c;h=428b6e5565a0e449dadf98c6403dd3f73b8436ad;hb=21101c7397e460933635a7bfed813864fc4f88fe;hp=ea1cc1825eb6e8adb88ec44b25b876329efde8f6;hpb=89da2ddf564a93414ee9ab2df3f053608094e417;p=PuTTY.git 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;