X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinctrls.c;h=428b6e5565a0e449dadf98c6403dd3f73b8436ad;hb=9f9d72ec58642e91b4f93ee4405a8086ee2fb2f0;hp=ea1cc1825eb6e8adb88ec44b25b876329efde8f6;hpb=b266d671acee34f9305950bfd87054b3b7fcded6;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;