]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Remove an unused variable.
authorTim Kosse <tim.kosse@filezilla-project.org>
Tue, 11 Aug 2015 12:05:59 +0000 (14:05 +0200)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 12:54:41 +0000 (13:54 +0100)
windows/winctrls.c

index ea1cc1825eb6e8adb88ec44b25b876329efde8f6..428b6e5565a0e449dadf98c6403dd3f73b8436ad 100644 (file)
@@ -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;