summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-06 09:53:07 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-06 09:53:07 +0100
commit3c8276bc5752a607f3a16e1a4a683b5f73b3db37 (patch)
tree75ae80418708cac7787df6ad1a9f6d4fbbffd0e5 /src/gui
parent5e39a2c4775161622f65d1cbf5e6dc785829a395 (diff)
downloadweechat-3c8276bc5752a607f3a16e1a4a683b5f73b3db37.zip
Fixed bug with command history: now test with previous is case sensitive
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-history.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/gui-history.c b/src/gui/gui-history.c
index 216ee7e6b..971d5690a 100644
--- a/src/gui/gui-history.c
+++ b/src/gui/gui-history.c
@@ -56,8 +56,7 @@ gui_history_buffer_add (void *buffer, char *string)
if (!ptr_buffer->history
|| (ptr_buffer->history
- && (string_strcasecmp (ptr_buffer->history->text,
- string) != 0)))
+ && (strcmp (ptr_buffer->history->text, string) != 0)))
{
new_history = (struct t_gui_history *)malloc (sizeof (struct t_gui_history));
if (new_history)
@@ -107,8 +106,8 @@ gui_history_global_add (char *string)
if (!history_global
|| (history_global
- && (string_strcasecmp (history_global->text, string) != 0)))
- {
+ && (strcmp (history_global->text, string) != 0)))
+ {
new_history = (struct t_gui_history *)malloc (sizeof (struct t_gui_history));
if (new_history)
{