QTableGenerator: Fix handling of illegal characters in fromBase8 again

Change-Id: Iaee19f71e5b74b0d43b628739039ca3c2be60cd0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
bb10
Robert Loehning 2017-10-17 12:01:12 +02:00
parent 0521913676
commit 37afba28b1
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ static inline int fromBase8(const char *s, const char *end)
{
int result = 0;
while (*s && s != end) {
if (*s <= '0' || *s >= '7')
if (*s < '0' || *s > '7')
return 0;
result *= 8;
result += *s - '0';