summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfdoc.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-06 09:53:27 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-06 09:53:27 -0800
commit6bdb56cad7f9e31183b90152324281ac52c4563d (patch)
tree5d857c81b4228a82b9480f8f9cc05762cc03f273 /fpdfsdk/fpdfdoc.cpp
parent1a1d7648d3e338b756e464cebb2ae1a815359afa (diff)
downloadpdfium-6bdb56cad7f9e31183b90152324281ac52c4563d.tar.xz
Fix FPDF_GetPageLabel API typo.
The API was originally committed as FPDF_GetPagelLabel but should be FPDF_GetPageLabel. BUG=pdfium:479 Review-Url: https://codereview.chromium.org/2559513002
Diffstat (limited to 'fpdfsdk/fpdfdoc.cpp')
-rw-r--r--fpdfsdk/fpdfdoc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdfdoc.cpp b/fpdfsdk/fpdfdoc.cpp
index 2dcf606a7c..ce4fc34982 100644
--- a/fpdfsdk/fpdfdoc.cpp
+++ b/fpdfsdk/fpdfdoc.cpp
@@ -396,10 +396,10 @@ DLLEXPORT unsigned long STDCALL FPDF_GetMetaText(FPDF_DOCUMENT document,
return Utf16EncodeMaybeCopyAndReturnLength(text, buffer, buflen);
}
-DLLEXPORT unsigned long STDCALL FPDF_GetPagelLabel(FPDF_DOCUMENT document,
- int page_index,
- void* buffer,
- unsigned long buflen) {
+DLLEXPORT unsigned long STDCALL FPDF_GetPageLabel(FPDF_DOCUMENT document,
+ int page_index,
+ void* buffer,
+ unsigned long buflen) {
if (page_index < 0)
return 0;