Bump liberty
This commit is contained in:
parent
649ea0baf7
commit
1c009f394a
|
@ -4133,7 +4133,7 @@ on_irc_autojoin_timeout (void *user_data)
|
||||||
{
|
{
|
||||||
struct str_vector v;
|
struct str_vector v;
|
||||||
str_vector_init (&v);
|
str_vector_init (&v);
|
||||||
split_str (autojoin, ",", &v);
|
cstr_split (autojoin, ",", &v);
|
||||||
for (size_t i = 0; i < v.len; i++)
|
for (size_t i = 0; i < v.len; i++)
|
||||||
{
|
{
|
||||||
irc_send (s, "JOIN :%s", v.vector[i]);
|
irc_send (s, "JOIN :%s", v.vector[i]);
|
||||||
|
@ -8308,7 +8308,7 @@ handle_command_set_add
|
||||||
bool result = false;
|
bool result = false;
|
||||||
struct str_vector items;
|
struct str_vector items;
|
||||||
str_vector_init (&items);
|
str_vector_init (&items);
|
||||||
split_str (item->value.string.str, ",", &items);
|
cstr_split (item->value.string.str, ",", &items);
|
||||||
if (items.len == 1 && !*items.vector[0])
|
if (items.len == 1 && !*items.vector[0])
|
||||||
str_vector_reset (&items);
|
str_vector_reset (&items);
|
||||||
|
|
||||||
|
@ -8331,7 +8331,7 @@ handle_command_set_remove
|
||||||
bool result = false;
|
bool result = false;
|
||||||
struct str_vector items;
|
struct str_vector items;
|
||||||
str_vector_init (&items);
|
str_vector_init (&items);
|
||||||
split_str (item->value.string.str, ",", &items);
|
cstr_split (item->value.string.str, ",", &items);
|
||||||
if (items.len == 1 && !*items.vector[0])
|
if (items.len == 1 && !*items.vector[0])
|
||||||
str_vector_reset (&items);
|
str_vector_reset (&items);
|
||||||
|
|
||||||
|
@ -9679,7 +9679,7 @@ process_input (struct app_context *ctx, char *user_input)
|
||||||
str_vector_init (&lines);
|
str_vector_init (&lines);
|
||||||
|
|
||||||
// XXX: this interprets commands in pasted text
|
// XXX: this interprets commands in pasted text
|
||||||
split_str (input, "\r\n", &lines);
|
cstr_split (input, "\r\n", &lines);
|
||||||
for (size_t i = 0; i < lines.len; i++)
|
for (size_t i = 0; i < lines.len; i++)
|
||||||
(void) process_input_utf8 (ctx,
|
(void) process_input_utf8 (ctx,
|
||||||
ctx->current_buffer, lines.vector[i], 0);
|
ctx->current_buffer, lines.vector[i], 0);
|
||||||
|
|
2
liberty
2
liberty
|
@ -1 +1 @@
|
||||||
Subproject commit 5d3e911f015b33d0b4dcc3aa94f7af630438cbf8
|
Subproject commit 91fca5cb054fc95fe2e7ac090cac2c3a302565ca
|
Loading…
Reference in New Issue