From 6bce06b91f5efe51531aa4923137488cf21df132 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 20 Aug 2019 16:38:51 +0100 Subject: fix spelling mistakes from miscellaneous event commit --- desktop/gui_factory.c | 2 +- frontends/gtk/window.c | 2 +- include/netsurf/window.h | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c index fdb15ef8c..7ab7b465a 100644 --- a/desktop/gui_factory.c +++ b/desktop/gui_factory.c @@ -533,7 +533,7 @@ static nserror verify_file_register(struct gui_file_table *gft) * verify bitmap table is valid * * \param gbt The bitmap table to verify. - * \return NSERROR_OK if teh table is valid else NSERROR_BAD_PARAMETER. + * \return NSERROR_OK if the table is valid else NSERROR_BAD_PARAMETER. */ static nserror verify_bitmap_register(struct gui_bitmap_table *gbt) { diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c index 6bf777cbe..fc893c92f 100644 --- a/frontends/gtk/window.c +++ b/frontends/gtk/window.c @@ -129,7 +129,7 @@ struct gui_window { /**< first entry in window list */ struct gui_window *window_list = NULL; -/** flag controlling opening of tabs in teh background */ +/** flag controlling opening of tabs in the background */ int temp_open_background = -1; struct nsgtk_scaffolding *nsgtk_get_scaffold(struct gui_window *g) diff --git a/include/netsurf/window.h b/include/netsurf/window.h index e396f7820..38ce295a7 100644 --- a/include/netsurf/window.h +++ b/include/netsurf/window.h @@ -77,7 +77,7 @@ typedef enum { */ enum gui_window_event { /** - * An empty event should never occour + * An empty event should never occur */ GW_EVENT_NONE = 0, @@ -234,14 +234,14 @@ struct gui_window_table { /** - * Miscelaneous event occoured for a window + * Miscellaneous event occurred for a window * * This is used to inform the frontend of window events which * require no additional parameters. * - * \param gw The gui window the event occoured for - * \param event Which event has occoured. - * \return NSERROR_OK if teh event was processed else error code. + * \param gw The gui window the event occurred for + * \param event Which event has occurred. + * \return NSERROR_OK if the event was processed else error code. */ nserror (*event)(struct gui_window *gw, enum gui_window_event event); -- cgit v1.2.3