summaryrefslogtreecommitdiff
path: root/public/fpdf_text.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-21 13:37:46 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-21 13:37:46 +0000
commitc3cffbedb5ff83afa4fde51e98509f915997ff4a (patch)
tree1c1bf879e6bc5f8eb415aa8105c49795920913ac /public/fpdf_text.h
parent4f7479ad5bd977eff1d08c65c44cb8d3950a2d77 (diff)
downloadpdfium-c3cffbedb5ff83afa4fde51e98509f915997ff4a.tar.xz
Fix some param names in the public API.
Also fix some comments. Change-Id: Ib42dcf04906139020bdbdfe86e6088faa1c31daa Reviewed-on: https://pdfium-review.googlesource.com/28830 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'public/fpdf_text.h')
-rw-r--r--public/fpdf_text.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/fpdf_text.h b/public/fpdf_text.h
index 043dc169c9..3502337443 100644
--- a/public/fpdf_text.h
+++ b/public/fpdf_text.h
@@ -222,9 +222,9 @@ FPDF_EXPORT int FPDF_CALLCONV FPDFText_CountRects(FPDF_TEXTPAGE text_page,
// bottom boundary.
// Return Value:
// On success, return TRUE and fill in |left|, |top|, |right|, and
-// |bottom|. If |link_page| is invalid then return FALSE, and the out
-// parameters remain unmodified. If |link_page| is valid but
-// |link_index| is out of bounds, then return FALSE and set the out
+// |bottom|. If |text_page| is invalid then return FALSE, and the out
+// parameters remain unmodified. If |text_page| is valid but
+// |rect_index| is out of bounds, then return FALSE and set the out
// parameters to 0.
//
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFText_GetRect(FPDF_TEXTPAGE text_page,