diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-09-05 11:48:55 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-05 16:20:37 +0000 |
commit | 2bf05a6ca144e78223795ae1716875d3c9b8acb1 (patch) | |
tree | 2a851799ac9cfac5b283a1284ddf96215da6602d /samples | |
parent | 1c9ad7ec7353cccabb6881fd22b116daa3dcbb84 (diff) | |
download | pdfium-2bf05a6ca144e78223795ae1716875d3c9b8acb1.tar.xz |
Leave space for null characters when getting text
The conversion from WideString to ByeString adds in null characters at
the end, so we need to account for these when selecting the range of
text to initially extract.
BUG=chromium:761770,chromium:761626
Change-Id: Ib8f863e997ebccaaf882e0beb29733f27a18826d
Reviewed-on: https://pdfium-review.googlesource.com/13110
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions