From 3bd7ea7520e13f5fabcfadb1a7630398bc1dca6d Mon Sep 17 00:00:00 2001 From: yzrh Date: Thu, 31 Dec 2020 18:43:29 +0000 Subject: Improve portability. --- src/pdf_cnki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pdf_cnki.c') diff --git a/src/pdf_cnki.c b/src/pdf_cnki.c index d69797b..6e5f810 100644 --- a/src/pdf_cnki.c +++ b/src/pdf_cnki.c @@ -42,7 +42,7 @@ _outline(pdf_object_t **pdf, object_outline_tree_t **outline_tree, int id, int * strcat(dictionary, "<<\n"); - size = 512; + size = 514; str = NULL; if (strconv(&str, "UTF-16BE", -- cgit v1.2.3