On 10/11/12 00:27, Daniel Lehman wrote: - if(!base && first->strbuf && first->val==digits[0]) { + if(first->strbuf && first->val==digits[0]) { + found_zero = TRUE; istreambuf_iterator_wchar_inc(first); if(first->strbuf && (first->val==mb_to_wc('x', &this->cvt) || first->val==mb_to_wc('x', &this->cvt))) {
There's a comparision to 'x' 2 times, one of them should be 'X'.
Cheers, Piotr