diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-list.c b/src/core/wee-list.c index df9f26794..34cf18139 100644 --- a/src/core/wee-list.c +++ b/src/core/wee-list.c @@ -101,9 +101,9 @@ weelist_insert (struct t_weelist *weelist, struct t_weelist_item *item, { /* search position for new element, according to pos asked */ pos_item = NULL; - if (string_strcasecmp (where, WEECHAT_LIST_POS_BEGINNING) == 0) + if (string_strcmp (where, WEECHAT_LIST_POS_BEGINNING) == 0) pos_item = weelist->items; - else if (string_strcasecmp (where, WEECHAT_LIST_POS_END) == 0) + else if (string_strcmp (where, WEECHAT_LIST_POS_END) == 0) pos_item = NULL; else pos_item = weelist_find_pos (weelist, item->data); |