aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb
diff options
context:
space:
mode:
Diffstat (limited to 'toys/lsb')
-rw-r--r--toys/lsb/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c
index 62f42557..322940b3 100644
--- a/toys/lsb/seq.c
+++ b/toys/lsb/seq.c
@@ -39,7 +39,7 @@ static void insanitize(char *f)
if (*s != '%') continue;
if (*++s == '%') continue;
if (found++) break;
- while (0 <= stridx("'#-+ ", *s)) s++;
+ while (0 <= stridx("0'#-+ ", *s)) s++;
while (isdigit(*s)) s++;
if (*s == '.') s++;
while (isdigit(*s)) s++;