summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
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) ?