1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +02:00

api: fix type of value returned by function strcasestr

This commit is contained in:
Sébastien Helleu
2015-07-03 19:45:51 +02:00
parent 3e0ebc82a9
commit b13db0305d
9 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -1001,8 +1001,8 @@ gui_color_emphasize (const char *string,
regex_t *regex)
{
regmatch_t regex_match;
char *result, *result2, *string_no_color, *pos;
const char *ptr_string, *ptr_no_color, *color_emphasis;
char *result, *result2, *string_no_color;
const char *ptr_string, *ptr_no_color, *color_emphasis, *pos;
int rc, length_search, length_emphasis, length_result;
int pos1, pos2, real_pos1, real_pos2, count_emphasis;