summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-history.c b/src/gui/gui-history.c
index aa0117bd5..ba4c1022f 100644
--- a/src/gui/gui-history.c
+++ b/src/gui/gui-history.c
@@ -88,7 +88,7 @@ gui_history_buffer_add (struct t_gui_buffer *buffer, const char *string)
free (buffer->last_history->text);
free (buffer->last_history);
buffer->last_history = ptr_history;
- buffer->num_history++;
+ buffer->num_history--;
}
}
}