Minor programs/winhlp32/winhelp.c simplification
Gerald Pfeifer
gerald at pfeifer.com
Mon Apr 19 07:41:48 CDT 2010
ChangeLog:
Remove not really used id from WINHELP_IndexDlgProc.
diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index fb05aeb..cfdfd02 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -1306,12 +1306,9 @@ static INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam,
*/
static INT_PTR CALLBACK WINHELP_SearchDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
- static struct index_data* id;
-
switch (msg)
{
case WM_INITDIALOG:
- id = (struct index_data*)((PROPSHEETPAGE*)lParam)->lParam;
return TRUE;
case WM_NOTIFY:
switch (((NMHDR*)lParam)->code)
More information about the wine-patches
mailing list