.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@7192 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-08 17:36:26 +00:00
parent 9f215fa19e
commit 1c6cc19a40
19 changed files with 53 additions and 30 deletions

View file

@ -1081,9 +1081,8 @@ String RTFParser::ReadBinHex(char& odd) const
: *s >= 'A' && *s <= 'F' ? *s - 'A' + 10
: *s >= 'a' && *s <= 'f' ? *s - 'a' + 10
: 255);
if(w < 16)
if(v >= 16)
{
if(w < 16) {
if(v >= 16) {
t = *s;
v = w;
}
@ -1092,6 +1091,7 @@ String RTFParser::ReadBinHex(char& odd) const
out.Cat(16 * v + w);
v = 255;
}
}
}
odd = (v < 16 ? t : 0);
return out;