Commit e86c6799 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

wineconsole: Remove variable font_idx which is not really used from WCUSER_FontPreviewProc.

parent 7ef088b6
......@@ -173,7 +173,6 @@ static LRESULT WINAPI WCUSER_FontPreviewProc(HWND hWnd, UINT msg, WPARAM wParam,
case WM_PAINT:
{
PAINTSTRUCT ps;
int font_idx;
int size_idx;
struct dialog_info* di;
HFONT hFont, hOldFont;
......@@ -181,7 +180,6 @@ static LRESULT WINAPI WCUSER_FontPreviewProc(HWND hWnd, UINT msg, WPARAM wParam,
di = (struct dialog_info*)GetWindowLongPtrW(GetParent(hWnd), DWLP_USER);
BeginPaint(hWnd, &ps);
font_idx = SendDlgItemMessageW(di->hDlg, IDC_FNT_LIST_FONT, LB_GETCURSEL, 0, 0);
size_idx = SendDlgItemMessageW(di->hDlg, IDC_FNT_LIST_SIZE, LB_GETCURSEL, 0, 0);
hFont = (HFONT)GetWindowLongPtrW(hWnd, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment