summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-05-17 16:00:35 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-05-17 16:00:35 +0200
commite2497ff8bcdaa0a78975e98996958c76a418b9e0 (patch)
treef9a6054b2bb2d5b9d0d958c862e2663c0392a099 /src/core
parent353538e3d80a1f90c2f3149b82d4be680ede0cdb (diff)
downloadweechat-e2497ff8bcdaa0a78975e98996958c76a418b9e0.zip
Fix typo: formated -> formatted
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-command.c4
-rw-r--r--src/core/wee-config.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 4a8b4a946..827617cf6 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -545,7 +545,7 @@ command_buffer (void *data, struct t_gui_buffer *buffer,
if (error && !error[0])
{
ptr_buffer = gui_buffer_search_by_number (number);
- if (ptr_buffer && (ptr_buffer->type == GUI_BUFFER_TYPE_FORMATED))
+ if (ptr_buffer && (ptr_buffer->type == GUI_BUFFER_TYPE_FORMATTED))
gui_buffer_clear (ptr_buffer);
}
}
@@ -553,7 +553,7 @@ command_buffer (void *data, struct t_gui_buffer *buffer,
}
else
{
- if (buffer->type == GUI_BUFFER_TYPE_FORMATED)
+ if (buffer->type == GUI_BUFFER_TYPE_FORMATTED)
gui_buffer_clear (buffer);
}
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index d9d84bd79..d779bfdd1 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -354,7 +354,7 @@ config_day_change_timer_cb (void *data, int remaining_calls)
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
{
- if (ptr_buffer->type == GUI_BUFFER_TYPE_FORMATED)
+ if (ptr_buffer->type == GUI_BUFFER_TYPE_FORMATTED)
gui_chat_printf (ptr_buffer,
_("\t\tDay changed to %s"),
(text_time2) ?