Index: fpdfsdk/src/fpdftext.cpp |
diff --git a/fpdfsdk/src/fpdftext.cpp b/fpdfsdk/src/fpdftext.cpp |
index fad2b8479f5c1f6369304b012a712ede78f895b4..e6bb9f0709118f4c7f951d37b432cb009e3196b3 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, |