[tracker/poppler-glib: 2/13] tracker-extract, pdf: Port 'Small fix to the pdf extractor'



commit 5032bcbfa5f6260fc135690d8f3e1abefe601a2b
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Feb 22 10:26:43 2011 +0100

    tracker-extract,pdf: Port 'Small fix to the pdf extractor'

 src/tracker-extract/tracker-extract-pdf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-pdf.c b/src/tracker-extract/tracker-extract-pdf.c
index c9ee8f7..20931df 100644
--- a/src/tracker-extract/tracker-extract-pdf.c
+++ b/src/tracker-extract/tracker-extract-pdf.c
@@ -352,7 +352,7 @@ extract_pdf (const gchar          *uri,
 	              "subject", &pd.subject,
 	              "keywords", &pd.keywords,
 	              "creation-date", &creation_date,
-		      "metadata", &xml,
+	              "metadata", &xml,
 	              NULL);
 
 	if (creation_date > 0) {
@@ -362,7 +362,7 @@ extract_pdf (const gchar          *uri,
 	if (xml &&
 	    (xd = tracker_xmp_new (xml, strlen (xml), uri)) != NULL) {
 		/* The casts here are well understood and known */
-		md.title = (gchar *) tracker_coalesce_strip (3, pd.title, xd->title, xd->title2, xd->pdf_title);
+		md.title = (gchar *) tracker_coalesce_strip (4, pd.title, xd->title, xd->title2, xd->pdf_title);
 		md.subject = (gchar *) tracker_coalesce_strip (2, pd.subject, xd->subject);
 		md.date = (gchar *) tracker_coalesce_strip (3, pd.creation_date, xd->date, xd->time_original);
 		md.author = (gchar *) tracker_coalesce_strip (2, pd.author, xd->creator);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]