Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: fpdfsdk/src/fpdf_ext.cpp

Issue 297993002: Fix a typo with PAGEMODE_UNKNOWN. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/include/fpdf_ext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/fpdf_ext.cpp
diff --git a/fpdfsdk/src/fpdf_ext.cpp b/fpdfsdk/src/fpdf_ext.cpp
index 2d9e5ae74cc9b966d3283b7ae9372e3d6053d09d..916cb2069cdd11bdbe5c5d9de8e59668bec1e9cc 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;
}
« no previous file with comments | « fpdfsdk/include/fpdf_ext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698