diff options
author | Ben North <ben@redfrontdoor.org> | 2009-01-20 18:26:27 +0100 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2009-01-20 18:26:27 +0100 |
commit | b45149922ee23a71efa013d3ef36ca4f6c6494be (patch) | |
tree | 3ef33dc73f3ad659e3a65ded93969bc7421263c8 /handle.c | |
parent | 8d9922bdc53c5538dbfbba65f5a3e15afc8aea91 (diff) |
Skip whitespace for virtual button '0'.
Diffstat (limited to 'handle.c')
-rw-r--r-- | handle.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -274,6 +274,8 @@ parse_number(const char *str, unsigned long *val) if (*str == '0') { str++; + while (isspace(*str)) + str++; fmt = "%lo"; if (*str == '\0') { *val = 0; |