Dates were wrongly given an author or title type, leading to the 'info'
command displaying these dates under mislabeled headers.
---
 pdf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pdf.c b/pdf.c
index 0f86370..11f23a4 100644
--- a/pdf.c
+++ b/pdf.c
@@ -573,7 +573,7 @@ pdf_document_get_information(zathura_document_t* document, 
PopplerDocument*
     if (tmp != NULL) {
       string_value = g_strndup(tmp, strlen(tmp) - 1);
       zathura_document_information_entry_t* entry = 
zathura_document_information_entry_new(
-          string_values[i].type, string_value);
+          time_values[i].type, string_value);
       if (entry != NULL) {
         girara_list_append(list, entry);
       }
-- 
1.7.10.4

_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to