summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 3877f676e..dbbf97a2f 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -598,7 +598,7 @@ COMMAND_CALLBACK(buffer)
ptr_buffer2 = ptr_buffer2->next_buffer)
{
if ((ptr_buffer2->number == ptr_buffer->number)
- && (ptr_buffer2->type == GUI_BUFFER_TYPE_FORMATTED))
+ && ptr_buffer2->clear)
{
gui_buffer_clear (ptr_buffer2);
}
@@ -609,7 +609,7 @@ COMMAND_CALLBACK(buffer)
}
else
{
- if (buffer->type == GUI_BUFFER_TYPE_FORMATTED)
+ if (buffer->clear)
gui_buffer_clear (buffer);
}