mirror of https://github.com/0intro/wmii
same fix (thx to 20h)
This commit is contained in:
parent
fdd8935f59
commit
0cac1a2ba6
|
@ -15,7 +15,7 @@ cext_tokenize(char **result, unsigned int reslen, char *str, char delim)
|
|||
|
||||
if(!str)
|
||||
return 0;
|
||||
for(n = str; *n == ' '; n++);
|
||||
for(n = str; *n == delim; n++);
|
||||
p = n;
|
||||
for(i = 0; *n != 0;) {
|
||||
if(i == reslen)
|
||||
|
|
Loading…
Reference in New Issue