diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-02-19 11:39:47 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-02-19 11:39:47 +0000 |
commit | ae45b18b459fa4f490501a93459e49f1f1038073 (patch) | |
tree | f0d8a3356a74c0a448f6d8ad5f4e4b22fc3c384c /frontends/windows/localhistory.c | |
parent | 67b22a811128f5a0635430151a73442d1f100735 (diff) | |
parent | 0f69965805dda51cc7b6ea8404226d5f75a3b533 (diff) | |
download | netsurf-ae45b18b459fa4f490501a93459e49f1f1038073.tar.gz netsurf-ae45b18b459fa4f490501a93459e49f1f1038073.tar.bz2 |
Merge branch 'vince/localhist-corewin'
Diffstat (limited to 'frontends/windows/localhistory.c')
-rw-r--r-- | frontends/windows/localhistory.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/frontends/windows/localhistory.c b/frontends/windows/localhistory.c index 8921b2b31..e145cf79b 100644 --- a/frontends/windows/localhistory.c +++ b/frontends/windows/localhistory.c @@ -129,16 +129,12 @@ nsws_localhistory_up(struct nsws_localhistory *l, struct gui_window *gw) } -/** - * close local history window - * - * \param gw the gui window to close history for - */ -void nsws_localhistory_close(struct gui_window *w) +/* exported interface documented in windows/localhistory.h */ +void nsws_localhistory_close(struct gui_window *gw) { - struct nsws_localhistory *l = gui_window_localhistory(w); - if (l != NULL) { - CloseWindow(l->hwnd); + struct nsws_localhistory *lh = gui_window_localhistory(gw); + if (lh != NULL) { + CloseWindow(lh->hwnd); } } |