[tracker/return-types: 17/28] libtracker-bus: Fixed strange column-1 thing



commit f088d23855d4f5876dac59b840a59ab23ce4686a
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]