Index: fpdfsdk/javascript/Annot.cpp |
diff --git a/fpdfsdk/javascript/Annot.cpp b/fpdfsdk/javascript/Annot.cpp |
index df123274d52d92fee5eccc3cbd692a42b880ad6b..99452171987959243c07d3df96845356e9c33841 100644 |
--- a/fpdfsdk/javascript/Annot.cpp |
+++ b/fpdfsdk/javascript/Annot.cpp |
@@ -80,7 +80,7 @@ FX_BOOL Annot::type(IJS_Context* cc, |
return FALSE; |
} |
- vp << m_BAAnnot->GetType(); |
+ vp << m_BAAnnot->GetAnnotSubtype(); |
return TRUE; |
} |