Fix bug 71045

This commit is contained in:
Oleg Korshul
2024-11-08 23:03:58 +03:00
parent 9a5240cbba
commit cc585185dd

View File

@ -144,7 +144,7 @@ CFile.prototype._getInteractiveFormsInfo = function()
CFile.prototype._getAnnotationsInfo = function(pageIndex)
{
g_module_pointer.ptr = g_native_drawing_file["GetAnnotationsInfo"](pageIndex);
g_module_pointer.ptr = g_native_drawing_file["GetAnnotationsInfo"](pageIndex === undefined ? -1 : pageIndex);
return g_module_pointer;
};