From 46a064e22a1ba168696077927e7b0215a4504bd9 Mon Sep 17 00:00:00 2001
From: orouge <orouge@gmail.com>
Date: Thu, 31 May 2012 18:15:13 +0300
Subject: [PATCH] Update src/hpdf_outline.c
---
src/hpdf_outline.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/hpdf_outline.c b/src/hpdf_outline.c
index 87cce04..56ce5e3 100644
--- a/src/hpdf_outline.c
+++ b/src/hpdf_outline.c
@@ -67,7 +67,7 @@ HPDF_OutlineRoot_New (HPDF_MMgr mmgr,
open_flg->header.obj_id |= HPDF_OTYPE_HIDDEN;
ret += HPDF_Dict_Add (outline, "_OPENED", open_flg);
- ret += HPDF_Dict_AddName (outline, "Type", "Outline");
+ ret += HPDF_Dict_AddName (outline, "Type", "Outlines");
if (ret != HPDF_OK)
return NULL;
@@ -117,7 +117,7 @@ HPDF_Outline_New (HPDF_MMgr mmgr,
open_flg->header.obj_id |= HPDF_OTYPE_HIDDEN;
ret += HPDF_Dict_Add (outline, "_OPENED", open_flg);
- ret += HPDF_Dict_AddName (outline, "Type", "Outline");
+ ret += HPDF_Dict_AddName (outline, "Type", "Outlines");
ret += AddChild (parent, outline);
if (ret != HPDF_OK)
@@ -328,5 +328,3 @@ HPDF_Outline_SetOpened (HPDF_Outline outline,
return HPDF_OK;
}
-
-
--
2.21.1 (Apple Git-122.3)