diff options
author | portix <portix@gmx.net> | 2012-01-08 17:05:27 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2012-01-08 17:05:27 +0100 |
commit | 4d05555a25fa4e63e17b57d9ce9afa720bde20fe (patch) | |
tree | 8a8e55a84b181afb4c36b9a63335da64dafa6207 /src/util.c | |
parent | c5c5f84a082075ccd5a77df8203fd8ede3aa19f3 (diff) | |
download | dwb-4d05555a25fa4e63e17b57d9ce9afa720bde20fe.zip |
Remove toggalbe unbound setting shortcuts, introducing set and toggle_setting instead
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -698,5 +698,11 @@ util_strlen_trailing_space(const char *str) { int len; for (len=0; *str != '\0'; str++, len++); return len; +} +const char * +util_str_chug(const char *str) { + while (g_ascii_isspace(*str)) + str++; + return str; } |