summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-20 16:38:51 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-20 16:38:51 +0100
commit6bce06b91f5efe51531aa4923137488cf21df132 (patch)
tree1c935ca868ee8876251a2fca48133b359aa590cf
parent4dc4d8b318c9bee25ca9b2982495b2906cc76287 (diff)
downloadnetsurf-6bce06b91f5efe51531aa4923137488cf21df132.tar.gz
netsurf-6bce06b91f5efe51531aa4923137488cf21df132.tar.bz2
fix spelling mistakes from miscellaneous event commit
-rw-r--r--desktop/gui_factory.c2
-rw-r--r--frontends/gtk/window.c2
-rw-r--r--include/netsurf/window.h10
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);