summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-06-08 18:48:10 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-06-13 13:50:59 +0000
commitd3b90ac1ee24e6e79f3b852f2c61135e099e7df1 (patch)
treed9ff257c4d3a588ce7994ae40dd300822aa2f763
parentc6fd58d69bd8895137364c4a1b0bcd08a2ce8c46 (diff)
downloadpdfium-d3b90ac1ee24e6e79f3b852f2c61135e099e7df1.tar.xz
Fix FPDFAction_GetFilePath() documentation error.
Commit 5f597db5 accidentally changed this. Probably due to copy/pasting. Change-Id: I41f6876da28d5d744d6d169c67b33399893e3585 Reviewed-on: https://pdfium-review.googlesource.com/6416 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
-rw-r--r--public/fpdf_doc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/fpdf_doc.h b/public/fpdf_doc.h
index 9d55a2e826..8e272238f8 100644
--- a/public/fpdf_doc.h
+++ b/public/fpdf_doc.h
@@ -138,10 +138,10 @@ DLLEXPORT FPDF_DEST STDCALL FPDFAction_GetDest(FPDF_DOCUMENT document,
// buffer - a buffer for output the path string. May be NULL.
// buflen - the length of the buffer, in bytes. May be 0.
//
-// Returns the number of bytes in the file path, including the trailing UTF16
-// NUL character.
+// Returns the number of bytes in the file path, including the trailing NUL
+// character.
//
-// Regardless of the platform, the |buffer| is always in UTF-16LE encoding.
+// Regardless of the platform, the |buffer| is always in UTF-8 encoding.
// If |buflen| is less than the returned length, or |buffer| is NULL, |buffer|
// will not be modified.
DLLEXPORT unsigned long STDCALL