parsing numbers imho better uses + rather than |

This commit is contained in:
Jan Kanis 2012-12-30 01:55:48 +01:00
parent 808fac9b14
commit 1ae0e5d7cb

View file

@ -1266,7 +1266,7 @@ wchar_t *unescape(const wchar_t * orig, int flags)
break;
}
res=(res*base)|d;
res=(res*base)+d;
}
if ((res <= max_val))