summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2014-05-24 00:37:54 -0700
committerLei Zhang <thestig@chromium.org>2014-05-24 00:37:54 -0700
commit4201b2a5f38a6335d012aa4dc4cd19f6989d05f1 (patch)
tree7d24a0fd8c8651ff1e58ee6810b876fd50e635bd /fpdfsdk/src
parent197fd8dc8daac8da11f15d4d634d7415cfebbc25 (diff)
downloadpdfium-4201b2a5f38a6335d012aa4dc4cd19f6989d05f1.tar.xz
Fix a typo with PAGEMODE_UNKNOWN.
R=jam@chromium.org Review URL: https://codereview.chromium.org/297993002
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/fpdf_ext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/src/fpdf_ext.cpp b/fpdfsdk/src/fpdf_ext.cpp
index 2d9e5ae74c..916cb2069c 100644
--- a/fpdfsdk/src/fpdf_ext.cpp
+++ b/fpdfsdk/src/fpdf_ext.cpp
@@ -219,10 +219,10 @@ void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code)
DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document)
{
- if (!document) return PAGEMODE_UNKONOWN;
+ if (!document) return PAGEMODE_UNKNOWN;
CPDF_Dictionary *pRoot = ((CPDF_Document*)document)->GetRoot();
if (!pRoot)
- return PAGEMODE_UNKONOWN;
+ return PAGEMODE_UNKNOWN;
CPDF_Object* pName = pRoot->GetElement("PageMode");
if (!pName)
return PAGEMODE_USENONE;
@@ -241,5 +241,5 @@ DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document)
else if (strPageMode.EqualNoCase(FX_BSTR("UseAttachments")))
return PAGEMODE_USEATTACHMENTS;
- return PAGEMODE_UNKONOWN;
+ return PAGEMODE_UNKNOWN;
}