mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7192 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9f215fa19e
commit
1c6cc19a40
19 changed files with 53 additions and 30 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue