diff options
Diffstat (limited to 'src/bplist.c')
| -rw-r--r-- | src/bplist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bplist.c b/src/bplist.c index 24326b7..c3fc071 100644 --- a/src/bplist.c +++ b/src/bplist.c | |||
| @@ -339,7 +339,7 @@ static char *plist_utf16be_to_utf8(uint16_t *unistr, long len, long *items_read, | |||
| 339 | read_lead_surrogate = 1; | 339 | read_lead_surrogate = 1; |
| 340 | w = 0x010000 + ((wc & 0x3FF) << 10); | 340 | w = 0x010000 + ((wc & 0x3FF) << 10); |
| 341 | } else { | 341 | } else { |
| 342 | // This is invalid, the next 16 bit char should be a trail surrogate. | 342 | // This is invalid, the next 16 bit char should be a trail surrogate. |
| 343 | // Handling error by skipping. | 343 | // Handling error by skipping. |
| 344 | read_lead_surrogate = 0; | 344 | read_lead_surrogate = 0; |
| 345 | } | 345 | } |
