diff options
Diffstat (limited to 'fpdfsdk/javascript/app.cpp')
-rw-r--r-- | fpdfsdk/javascript/app.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/app.cpp b/fpdfsdk/javascript/app.cpp index 0f11609fe7..6e5dc4a2c7 100644 --- a/fpdfsdk/javascript/app.cpp +++ b/fpdfsdk/javascript/app.cpp @@ -325,7 +325,7 @@ FX_BOOL app::platform(IJS_Context* cc, static_cast<CJS_Context*>(cc)->GetJSRuntime()->GetReaderApp(); if (!pEnv) return FALSE; - CFX_WideString platfrom = pEnv->FFI_GetPlatform(); + CFX_WideString platfrom = pEnv->GetPlatform(); if (!platfrom.IsEmpty()) { vp << platfrom; return TRUE; @@ -345,7 +345,7 @@ FX_BOOL app::language(IJS_Context* cc, static_cast<CJS_Context*>(cc)->GetJSRuntime()->GetReaderApp(); if (!pEnv) return FALSE; - CFX_WideString language = pEnv->FFI_GetLanguage(); + CFX_WideString language = pEnv->GetLanguage(); if (!language.IsEmpty()) { vp << language; return TRUE; |