Remove variable font_idx which is not really used from WCUSER_FontPreviewProc.
Gerald Pfeifer
gerald at pfeifer.com
Sat May 1 15:24:07 CDT 2010
---
programs/wineconsole/dialog.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/programs/wineconsole/dialog.c b/programs/wineconsole/dialog.c
index 622595d..cb3ff50 100644
--- a/programs/wineconsole/dialog.c
+++ b/programs/wineconsole/dialog.c
@@ -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);
--
1.6.6.2
More information about the wine-patches
mailing list