diff options
author | 2016-04-02 19:09:12 +0200 | |
---|---|---|
committer | 2016-04-02 19:09:12 +0200 | |
commit | 4885a6c423b9bcf4a60e57b32f528b9c90d09cd8 (patch) | |
tree | 89abbdf64bf6f8d9374afe9fc1f8cd4f5856d88b /common | |
parent | Merge pull request #565 from mikkeloscar/fix-pointer-crash (diff) | |
parent | Fix spelling mistakes (diff) | |
download | sway-4885a6c423b9bcf4a60e57b32f528b9c90d09cd8.tar.gz sway-4885a6c423b9bcf4a60e57b32f528b9c90d09cd8.tar.zst sway-4885a6c423b9bcf4a60e57b32f528b9c90d09cd8.zip |
Merge pull request #569 from 1ace/master
Fix spelling mistakes
Diffstat (limited to 'common')
-rw-r--r-- | common/stringop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stringop.c b/common/stringop.c index 186fe121..61324458 100644 --- a/common/stringop.c +++ b/common/stringop.c | |||
@@ -342,7 +342,7 @@ char *cmdsep(char **stringp, const char *delim) { | |||
342 | char *head = *stringp + strspn(*stringp, delim); | 342 | char *head = *stringp + strspn(*stringp, delim); |
343 | // Find end token | 343 | // Find end token |
344 | char *tail = *stringp += strcspn(*stringp, delim); | 344 | char *tail = *stringp += strcspn(*stringp, delim); |
345 | // Set stringp to begining of next token | 345 | // Set stringp to beginning of next token |
346 | *stringp += strspn(*stringp, delim); | 346 | *stringp += strspn(*stringp, delim); |
347 | // Set stringp to null if last token | 347 | // Set stringp to null if last token |
348 | if (!**stringp) *stringp = NULL; | 348 | if (!**stringp) *stringp = NULL; |