diff options
Diffstat (limited to 'yotlibc/strbasic.c')
-rw-r--r-- | yotlibc/strbasic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yotlibc/strbasic.c b/yotlibc/strbasic.c index c73757a..686b667 100644 --- a/yotlibc/strbasic.c +++ b/yotlibc/strbasic.c @@ -62,6 +62,8 @@ int strtos(str, store) }else{ return 0; } + }else if(*str == ' ' || *str == '\t' || *str == '\n'){ + break; }else{ return 0; /* Failed */ } |