mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
This commit is contained in:
@@ -11,6 +11,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
|
||||
== Version 0.4.3 (under dev)
|
||||
|
||||
* core: fix compilation on Android (replace calls to rindex by strrchr)
|
||||
(bug #41420, patch #8301)
|
||||
* core: fix crash when creating two bars with same name but different case
|
||||
(bug #41418)
|
||||
* core: fix display of read marker when all buffer lines are unread and that
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
@@ -630,7 +629,7 @@ gui_completion_build_list (struct t_gui_completion *completion)
|
||||
}
|
||||
if (repeat_last)
|
||||
{
|
||||
pos_space = rindex (template, ' ');
|
||||
pos_space = strrchr (template, ' ');
|
||||
gui_completion_build_list_template (completion,
|
||||
(pos_space) ?
|
||||
pos_space + 1 : template,
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
#include "rmodifier.h"
|
||||
@@ -342,7 +341,7 @@ rmodifier_new_with_string (const char *name, const char *value)
|
||||
new_rmodifier = NULL;
|
||||
|
||||
pos1 = strchr (value, ';');
|
||||
pos2 = rindex (value, ';');
|
||||
pos2 = strrchr (value, ';');
|
||||
if (pos1 && pos2 && (pos2 > pos1))
|
||||
{
|
||||
modifiers = weechat_strndup (value, pos1 - value);
|
||||
|
||||
Reference in New Issue
Block a user