[tracker/return-types] 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] libtracker-bus: Fixed strange column-1 thing
- Date: Fri, 10 Sep 2010 14:04:13 +0000 (UTC)
commit 7f0382b46aac9d43dedb863f212910a490706d50
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]