mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
Replace strarray_length with g_strv_length
This commit is contained in:
parent
72712a0c62
commit
7a3c6fe86c
9 changed files with 7 additions and 23 deletions
|
|
@ -44,7 +44,7 @@ static char *get_argument(char **cmd, char **arglist)
|
|||
arg = 0;
|
||||
max = -1;
|
||||
|
||||
argcount = arglist == NULL ? 0 : strarray_length(arglist);
|
||||
argcount = arglist == NULL ? 0 : g_strv_length(arglist);
|
||||
|
||||
if (**cmd == '*') {
|
||||
/* get all arguments */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue