diff options
author | Lei Zhang <thestig@chromium.org> | 2015-08-13 17:50:20 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-08-13 17:50:20 -0700 |
commit | 45c910f02063cab51d0d90137d451a666c33b85f (patch) | |
tree | e31956f5c1a7a831d0deacf0c909ee3fbda775b9 /fpdfsdk/src | |
parent | dbf5f4cc33561223587d2535bbdeefae330fecfe (diff) | |
download | pdfium-45c910f02063cab51d0d90137d451a666c33b85f.tar.xz |
Cleanup: s/Torelance/Tolerance/
R=tsepez@chromium.org
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1294713002 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r-- | fpdfsdk/src/fpdftext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/fpdftext.cpp b/fpdfsdk/src/fpdftext.cpp index 0761ffa91a..4030b7172b 100644 --- a/fpdfsdk/src/fpdftext.cpp +++ b/fpdfsdk/src/fpdftext.cpp @@ -85,13 +85,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, |