[tracker/return-types: 17/18] libtracker-bus: Fixed strange column-1 thing
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/return-types: 17/18] libtracker-bus: Fixed strange column-1 thing
- Date: Mon, 13 Sep 2010 09:10:17 +0000 (UTC)
commit fe6d12d5420754bdcbbc48dbde5481be2f016a63
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]