Re: [zathura] [PATCH] Show proper header for creation/modification dates

2013-03-15 Thread Moritz Lipp
Hello,

On 2013-03-15 12:20:43, Benoît Knecht wrote:
> Dates were wrongly given an author or title type, leading to the 'info'
> command displaying these dates under mislabeled headers.

Thanks, applied!

Best regards,
Moritz


pgpOvZnanAUj2.pgp
Description: PGP signature
___
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura


[zathura] [PATCH] Show proper header for creation/modification dates

2013-03-15 Thread Benoît Knecht
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