summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-08-13 17:52:16 -0700
committerLei Zhang <thestig@chromium.org>2015-08-13 17:52:16 -0700
commit38a5a399a4dc00b8db5db665de68a97d3f86335c (patch)
tree312d6ee60d9f18a1ea9c8aa2936042c7362b46ca /fpdfsdk/src
parent97108cb8cd9318be6cdf62cba7447a373910f349 (diff)
downloadpdfium-38a5a399a4dc00b8db5db665de68a97d3f86335c.tar.xz
Merge to XFA: Cleanup: s/Torelance/Tolerance/
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1294713002 . (cherry picked from commit 45c910f02063cab51d0d90137d451a666c33b85f) Review URL: https://codereview.chromium.org/1285183005 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/fpdftext.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/fpdftext.cpp b/fpdfsdk/src/fpdftext.cpp
index fad2b8479f..e6bb9f0709 100644
--- a/fpdfsdk/src/fpdftext.cpp
+++ b/fpdfsdk/src/fpdftext.cpp
@@ -92,13 +92,13 @@ DLLEXPORT void STDCALL FPDFText_GetCharBox(FPDF_TEXTPAGE text_page,
DLLEXPORT int STDCALL FPDFText_GetCharIndexAtPos(FPDF_TEXTPAGE text_page,
double x,
double y,
- double xTorelance,
- double yTorelance) {
+ double xTolerance,
+ double yTolerance) {
if (!text_page)
return -3;
IPDF_TextPage* textpage = (IPDF_TextPage*)text_page;
- return textpage->GetIndexAtPos((FX_FLOAT)x, (FX_FLOAT)y, (FX_FLOAT)xTorelance,
- (FX_FLOAT)yTorelance);
+ return textpage->GetIndexAtPos((FX_FLOAT)x, (FX_FLOAT)y, (FX_FLOAT)xTolerance,
+ (FX_FLOAT)yTolerance);
}
DLLEXPORT int STDCALL FPDFText_GetText(FPDF_TEXTPAGE text_page,