Permalink
Browse files

parsing numbers imho better uses + rather than |

  • Loading branch information...
1 parent 808fac9 commit 1ae0e5d7cb9a227f2e2fcc33ce3b41acd0ab9e14 @JanKanis JanKanis committed Dec 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 common.cpp
View
@@ -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))

0 comments on commit 1ae0e5d

Please sign in to comment.