summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-11-03 16:59:54 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-11-03 16:59:54 +0100
commit4646e5c17ccc61503937131ba855961cbf487324 (patch)
treeb6a0b6103bd1d65964c647da6a8d07ed2da9c0bb /src
parent4b1bc5ff1b711e1c3673c8ed5ea945ede32f491c (diff)
downloadweechat-4646e5c17ccc61503937131ba855961cbf487324.zip
core: fix typo: occured -> occurred
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-hook.h2
-rw-r--r--src/core/wee-util.c2
-rw-r--r--src/plugins/scripts/tcl/weechat-tcl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h
index a3ca2f52d..f65d4aafe 100644
--- a/src/core/wee-hook.h
+++ b/src/core/wee-hook.h
@@ -180,7 +180,7 @@ struct t_hook_fd
t_hook_callback_fd *callback; /* fd callback */
int fd; /* socket or file descriptor */
int flags; /* fd flags (read,write,..) */
- int error; /* contains errno if error occured */
+ int error; /* contains errno if error occurred */
/* with fd */
};
diff --git a/src/core/wee-util.c b/src/core/wee-util.c
index d5e517fd9..886a7a821 100644
--- a/src/core/wee-util.c
+++ b/src/core/wee-util.c
@@ -362,7 +362,7 @@ util_search_full_lib_name (const char *filename, const char *sys_directory)
/*
* util_file_get_content: read the content of a file
* return an allocated buffer with the file content
- * else NULL if an error occured
+ * else NULL if an error occurred
* (the buffer must be freed by the caller)
*/
diff --git a/src/plugins/scripts/tcl/weechat-tcl.c b/src/plugins/scripts/tcl/weechat-tcl.c
index 5fa599c07..9c1b0717a 100644
--- a/src/plugins/scripts/tcl/weechat-tcl.c
+++ b/src/plugins/scripts/tcl/weechat-tcl.c
@@ -314,7 +314,7 @@ weechat_tcl_load (const char *filename)
if (Tcl_EvalFile (interp, filename) != TCL_OK)
{
weechat_printf (NULL,
- weechat_gettext ("%s%s: error occured while "
+ weechat_gettext ("%s%s: error occurred while "
"parsing file \"%s\": %s"),
weechat_prefix ("error"), TCL_PLUGIN_NAME, filename,
Tcl_GetStringFromObj (Tcl_GetObjResult (interp), &i));