Reformat á la VS2022
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
5d46888dc2
commit
067cbddf64
@ -133,7 +133,8 @@ namespace stdex
|
||||
if (unicode < 0x10000) {
|
||||
chr[0] = (wchar_t)unicode;
|
||||
chr[1] = 0;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
ucs4_to_surrogate_pair(chr, unicode);
|
||||
chr[2] = 0;
|
||||
}
|
||||
@ -312,7 +313,8 @@ namespace stdex
|
||||
if (i + 1 < end && is_surrogate_pair(src + i)) {
|
||||
unicode = surrogate_pair_to_ucs4(src + i);
|
||||
i += 2;
|
||||
} else
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
unicode = src[i++];
|
||||
|
Loading…
x
Reference in New Issue
Block a user