summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Docs/BUILDING-Framebuffer2
-rw-r--r--content/fetchers.h2
-rw-r--r--content/fetchers/curl.c2
-rw-r--r--desktop/browser.h2
-rw-r--r--desktop/hotlist.c2
-rw-r--r--desktop/textinput.h2
-rw-r--r--framebuffer/fbtk.h2
-rw-r--r--image/image_cache.h4
-rw-r--r--render/search.c2
-rw-r--r--riscos/bitmap.c2
-rw-r--r--riscos/gui.c2
-rw-r--r--riscos/gui/status_bar.c2
-rw-r--r--utils/libdom.h2
-rw-r--r--utils/utsname.h2
14 files changed, 15 insertions, 15 deletions
diff --git a/Docs/BUILDING-Framebuffer b/Docs/BUILDING-Framebuffer
index 8e695c4a9..3c8858a32 100644
--- a/Docs/BUILDING-Framebuffer
+++ b/Docs/BUILDING-Framebuffer
@@ -229,7 +229,7 @@
The compiled in default paths may be altered by setting values in
the user configuration makefile Makefile.config. These values must
- be set to teh absolute path of the relevant font file including its
+ be set to the absolute path of the relevant font file including its
.ttf extension. The variables are:
NETSURF_FB_FONT_SANS_SERIF
diff --git a/content/fetchers.h b/content/fetchers.h
index 85085a049..c8f8300b8 100644
--- a/content/fetchers.h
+++ b/content/fetchers.h
@@ -42,7 +42,7 @@ struct fetch;
* The flow of a fetch operation is:
* URL is checked for aceptability.
* setup with all applicable data.
- * start is called before teh first poll
+ * start is called before the first poll
* after completion or abort it is freed
*
*/
diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c
index 08acbf286..d067cfaaf 100644
--- a/content/fetchers/curl.c
+++ b/content/fetchers/curl.c
@@ -157,7 +157,7 @@ static void fetch_curl_finalise(lwc_string *scheme)
* Check if this fetcher can fetch a url.
*
* \param url The url to check.
- * \return true if teh fetcher supports teh url else false.
+ * \return true if the fetcher supports the url else false.
*/
static bool fetch_curl_can_fetch(const nsurl *url)
{
diff --git a/desktop/browser.h b/desktop/browser.h
index 1d184b6f8..07faf10dc 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -320,7 +320,7 @@ void browser_window_set_scale(struct browser_window *bw, float scale, bool all);
* Gets the scale of a browser window
*
* \param bw The browser window to get the scale of.
- * \return The scale of teh window.
+ * \return The scale of the window.
*/
float browser_window_get_scale(struct browser_window *bw);
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 38c8827bd..d9f89f037 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -320,7 +320,7 @@ static nserror hotlist_add_entry_internal(nsurl *url, const char *title,
* \param relation Existing node to insert as relation of, or NULL
* \param rel Folder's relationship to relation
* \param folder Updated to new hotlist folder data
- * \param default_folder Add to teh default folder.
+ * \param default_folder Add to the default folder.
* \return NSERROR_OK on success, or appropriate error otherwise
*/
static nserror hotlist_add_folder_internal(
diff --git a/desktop/textinput.h b/desktop/textinput.h
index a0b9f485d..123bf5d82 100644
--- a/desktop/textinput.h
+++ b/desktop/textinput.h
@@ -87,7 +87,7 @@ void browser_window_place_caret(struct browser_window *bw, int x, int y,
* Removes the caret and callback for key process.
*
* \param bw The browser window from which to remove caret.
- * \param only_hide Revove teh caret but leave teh textinput editable.
+ * \param only_hide Revove the caret but leave the textinput editable.
*/
void browser_window_remove_caret(struct browser_window *bw, bool only_hide);
diff --git a/framebuffer/fbtk.h b/framebuffer/fbtk.h
index ea5cf127b..6ad06edff 100644
--- a/framebuffer/fbtk.h
+++ b/framebuffer/fbtk.h
@@ -151,7 +151,7 @@ int fbtk_post_callback(fbtk_widget_t *widget, fbtk_callback_type cbt, ...);
* @param widget The widget to set the handler for.
* @param cbt The type of callback to set.
* @param cb The callback.
- * @param pw The private pointer to pass when calling teh callback.
+ * @param pw The private pointer to pass when calling the callback.
* @return The previous callback handler for the type or NULL.
*/
fbtk_callback fbtk_set_handler(fbtk_widget_t *widget, fbtk_callback_type cbt, fbtk_callback cb, void *pw);
diff --git a/image/image_cache.h b/image/image_cache.h
index c0a3076b0..eb7a04fa3 100644
--- a/image/image_cache.h
+++ b/image/image_cache.h
@@ -94,7 +94,7 @@ struct bitmap *image_cache_find_bitmap(struct content *c);
* conversion when a content is initially added to the cache.
*
* @param c The content to be considered.
- * @return true if a speculative conversion is desired false otehrwise.
+ * @return true if a speculative conversion is desired false otherwise.
*/
bool image_cache_speculate(struct content *c);
@@ -148,7 +148,7 @@ int image_cache_snentryf(char *string, size_t size, unsigned int entryn,
* r The total size of read operations which could not be sucessfully
* returned. ie. not available in cache and conversion failed.
* s The number of images which were placed in the cache but never read.
- * t The number of images that were converted on insertion into teh cache which were subsequently never used.
+ * t The number of images that were converted on insertion into the cache which were subsequently never used.
* u The number of times an image was converted after the first
* v The number of images that had extra conversions performed.
* w Size of the image that was converted (read missed cache) highest number
diff --git a/render/search.c b/render/search.c
index 6e5841c7b..b586ff55f 100644
--- a/render/search.c
+++ b/render/search.c
@@ -372,7 +372,7 @@ static bool find_occurrences_html(const char *pattern, int p_len,
* \param pattern the string pattern to search for
* \param p_len pattern length
* \param c the content to be searched
- * \param case_sens wheteher to perform a case sensitive search
+ * \param case_sens whether to perform a case sensitive search
* \param context The search context to add the entry to.
* \return true on success, false on memory allocation failure
*/
diff --git a/riscos/bitmap.c b/riscos/bitmap.c
index c843be6e2..2c700ec7d 100644
--- a/riscos/bitmap.c
+++ b/riscos/bitmap.c
@@ -106,7 +106,7 @@ static bool bitmap_initialise(struct bitmap *bitmap)
*
* \param width width of image in pixels
* \param height width of image in pixels
- * \param state the state to create teh bitmap in.
+ * \param state the state to create the bitmap in.
* \return an opaque struct bitmap, or NULL on memory exhaustion
*/
diff --git a/riscos/gui.c b/riscos/gui.c
index 290c9a34d..7742008dd 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -1439,7 +1439,7 @@ static nserror ro_path_to_nsurl(const char *path, struct nsurl **url_out)
return NSERROR_NOT_FOUND;
}
- /* create a unix path from teh cananocal risc os one */
+ /* create a unix path from the cananocal risc os one */
unix_path = __unixify(canonical_path, __RISCOSIFY_NO_REVERSE_SUFFIX, NULL, 0, 0);
if (unix_path == NULL) {
diff --git a/riscos/gui/status_bar.c b/riscos/gui/status_bar.c
index c269b918b..e7dc54279 100644
--- a/riscos/gui/status_bar.c
+++ b/riscos/gui/status_bar.c
@@ -210,7 +210,7 @@ unsigned int ro_gui_status_bar_get_width(struct status_bar *sb)
* Set the visibility status of the status bar
*
* \param sb the status bar to check the visiblity of
- * \param visible if teh status bar should be shown or not.
+ * \param visible if the status bar should be shown or not.
* \return whether the status bar is visible
*/
void ro_gui_status_bar_set_visible(struct status_bar *sb, bool visible)
diff --git a/utils/libdom.h b/utils/libdom.h
index becada315..306aa0f8b 100644
--- a/utils/libdom.h
+++ b/utils/libdom.h
@@ -37,7 +37,7 @@
*
* \param root the dom node to use as the root of the tree walk
* \param callback The function called for each element
- * \param ctx The context passed to teh callback.
+ * \param ctx The context passed to the callback.
* \return true if all nodes were examined, false if the callback terminated
* the walk early.
*/
diff --git a/utils/utsname.h b/utils/utsname.h
index b4c0a79d9..ca2a0231f 100644
--- a/utils/utsname.h
+++ b/utils/utsname.h
@@ -41,7 +41,7 @@ struct utsname {
/**
* Get the system information.
*
- * @param buf the buffer to fill with teh information.
+ * @param buf the buffer to fill with the information.
* @return 0 on sucess or -1 and errno set on faliure.
*/
int uname(struct utsname *buf);