winhelp: Don't add a page to the history when using the back button.
diff --git a/programs/winhelp/macro.c b/programs/winhelp/macro.c
index 877d33f..d43ec9f 100644
--- a/programs/winhelp/macro.c
+++ b/programs/winhelp/macro.c
@@ -221,7 +221,7 @@
WINE_TRACE("()\n");
if (win && win->back.index >= 2)
- WINHELP_CreateHelpWindow(&win->back.set[--win->back.index - 1], SW_SHOW);
+ WINHELP_CreateHelpWindow(&win->back.set[--win->back.index - 1], SW_SHOW, FALSE);
}
void CALLBACK MACRO_BackFlush(void)
@@ -699,7 +699,7 @@
{
wp.page->file->wRefCount++;
wp.wininfo = Globals.active_win->info;
- WINHELP_CreateHelpWindow(&wp, SW_NORMAL);
+ WINHELP_CreateHelpWindow(&wp, SW_NORMAL, TRUE);
}
}
@@ -739,7 +739,7 @@
{
wp.page->file->wRefCount++;
wp.wininfo = Globals.active_win->info;
- WINHELP_CreateHelpWindow(&wp, SW_NORMAL);
+ WINHELP_CreateHelpWindow(&wp, SW_NORMAL, TRUE);
}
}