summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-17 17:40:18 -0800
committerLei Zhang <thestig@chromium.org>2015-11-17 17:40:18 -0800
commitb2a4c976841863e89804a2643eebccf881c57584 (patch)
tree672ed27932e6805a4d8dedab40060529b7fd04ee
parent447946588d6bbd4d5bc34477a09dd983285c507e (diff)
downloadpdfium-b2a4c976841863e89804a2643eebccf881c57584.tar.xz
Fix typo from commit r447946588d6b.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1452843005 .
-rw-r--r--core/src/fpdfdoc/doc_form.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp
index 93d4fcb9f4..241609efbc 100644
--- a/core/src/fpdfdoc/doc_form.cpp
+++ b/core/src/fpdfdoc/doc_form.cpp
@@ -517,7 +517,7 @@ CPDF_Font* CPDF_InterForm::AddNativeFont(uint8_t charSet,
CFX_ByteString csFontName = GetNativeFont(charSet, &lf);
if (!csFontName.IsEmpty()) {
if (csFontName == "Helvetica")
- return pFont = AddStandardFont(pDocument, csFontName);
+ return AddStandardFont(pDocument, csFontName);
return pDocument->AddWindowsFont(&lf, FALSE, TRUE);
}
#endif