summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r--plugins/NewStory/src/history_array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp
index 378847f142..9676fdb6e9 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -163,7 +163,7 @@ bool HistoryArray::addHistory(MCONTACT hContact, EventLoadMode)
tail->items[i].hEvent = hEvent;
++i;
- hEvent = db_event_next(hEvent, hContact);
+ hEvent = db_event_next(hContact, hEvent);
}
return true;
}