Replace strarray_length with g_strv_length

This commit is contained in:
LemonBoy 2016-02-13 14:16:05 +01:00
commit 7a3c6fe86c
9 changed files with 7 additions and 23 deletions

View file

@ -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 */