summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-05 10:17:30 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-05 10:17:30 -0800
commit8ab45eafebfd510554920e09e5ee85e94701dea9 (patch)
tree5395b97d113552edc0c4c6bf3142302441da666e /samples
parent0861c161376074bce453de31fdf96e120c482696 (diff)
downloadpdfium-8ab45eafebfd510554920e09e5ee85e94701dea9.tar.xz
Merge to XFA: Make FPDF_WIDESTRING work regardless of endianness.
Original Review URL: https://codereview.chromium.org/1554363002 . (cherry picked from commit ed34cdf99d5a4b33e57f81f9244a311f6fb86db3) TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1559373002 .
Diffstat (limited to 'samples')
-rw-r--r--samples/pdfium_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 112e7800c0..6bf1ec18ce 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -196,7 +196,7 @@ void WriteEmf(FPDF_PAGE page, const char* pdf_name, int num) {
int ExampleAppAlert(IPDF_JSPLATFORM*, FPDF_WIDESTRING msg, FPDF_WIDESTRING,
int, int) {
- std::wstring platform_string = GetWideString(msg);
+ std::wstring platform_string = GetPlatformWString(msg);
printf("Alert: %ls\n", platform_string.c_str());
return 0;
}