summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-03-16 19:35:47 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-16 19:35:47 +0000
commit5ddbd382cd434070ab5b99c3600fc2703e05b400 (patch)
treec8df4fce335d3cb4d4d9aad16983f5ceafec3f68
parent9d7c7ff0a5f0da6e7574557e5a8e82b9b5b7c1ae (diff)
downloadpdfium-5ddbd382cd434070ab5b99c3600fc2703e05b400.tar.xz
Fix typo in doc of FPDFDest_GetDestPageIndex.
Change-Id: Ic312c540dcdc19d0c81ae85a7c5b201a00bacf7f Reviewed-on: https://pdfium-review.googlesource.com/28730 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
-rw-r--r--public/fpdf_doc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/fpdf_doc.h b/public/fpdf_doc.h
index b0a1f3b492..9181cbc9e5 100644
--- a/public/fpdf_doc.h
+++ b/public/fpdf_doc.h
@@ -195,7 +195,7 @@ FPDFDest_GetPageIndex(FPDF_DOCUMENT document, FPDF_DEST dest);
// document - handle to the document.
// dest - handle to the destination.
//
-// Returns the -based page index containing |dest|. Returns -1 on error.
+// Returns the 0-based page index containing |dest|. Returns -1 on error.
FPDF_EXPORT int FPDF_CALLCONV FPDFDest_GetDestPageIndex(FPDF_DOCUMENT document,
FPDF_DEST dest);