[tracker/rss-enclosures] libtracker-bus: Fixed strange column-1 thing



commit 0490c3cb111e56a3732fba1472ab2c5cd1874fd4
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Sep 10 16:03:57 2010 +0200

    libtracker-bus: Fixed strange column-1 thing

 src/libtracker-bus/tracker-bus-fd-cursor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-cursor.c b/src/libtracker-bus/tracker-bus-fd-cursor.c
index 5736082..f24961d 100644
--- a/src/libtracker-bus/tracker-bus-fd-cursor.c
+++ b/src/libtracker-bus/tracker-bus-fd-cursor.c
@@ -172,7 +172,7 @@ static TrackerSparqlValueType
 tracker_bus_fd_cursor_get_value_type (TrackerBusFDCursor *cursor,  guint column)
 {
 	/* Cast from int to enum */
-	return (TrackerSparqlValueType) cursor->types[column - 1];
+	return (TrackerSparqlValueType) cursor->types[column];
 }
 
 static const gchar*



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