summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hinfo.h')
-rw-r--r--hwpfilter/source/hinfo.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h
index 44b08fbba392..74402f780349 100644
--- a/hwpfilter/source/hinfo.h
+++ b/hwpfilter/source/hinfo.h
@@ -21,6 +21,7 @@
#define _HWPINFO_H_
#include "hwplib.h"
+#include "string.h"
#define CHAIN_MAX_PATH 40
#define ANNOTATION_LEN 24
@@ -87,12 +88,18 @@ struct PaperBackInfo
/**
* Information of printing for chained page
*/
-typedef struct
+struct DocChainInfo
{
unsigned char chain_page_no;
unsigned char chain_footnote_no;
unsigned char chain_filename[CHAIN_MAX_PATH];
-} DocChainInfo;
+ DocChainInfo()
+ : chain_page_no(0)
+ , chain_footnote_no(0)
+ {
+ memset(chain_filename, 0, sizeof(chain_filename));
+ }
+};
/* ???? ???? */
/**