mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Remove a bad strlen() usage
This commit is contained in:
parent
d1e216936c
commit
98e219fab8
1 changed files with 1 additions and 1 deletions
2
uicb.c
2
uicb.c
|
@ -66,7 +66,7 @@ uicb_exec(int screen __attribute__ ((unused)), char *cmd)
|
|||
|
||||
/* Ignore the leading spaces if any */
|
||||
for(args_pos = 0;
|
||||
args_pos < strlen(cmd) && cmd[args_pos] == ' ';
|
||||
args_pos < a_strlen(cmd) && cmd[args_pos] == ' ';
|
||||
++args_pos);
|
||||
|
||||
/* Get the beginning of the arguments */
|
||||
|
|
Loading…
Reference in a new issue