summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2020-04-03 14:19:03 +0300
committerMataes <mataes2007@gmail.com>2020-04-03 14:19:36 +0300
commit41fb0d2d6a4417d3ad2d26df15b6d6ab68af0c68 (patch)
tree127afe5902973dcfe093cc49600bac251e4330e0 /plugins/NewStory/src/history_array.cpp
parent4176d6dd87e8388843f2c4a58fe93719650d0f4c (diff)
Newstory: fixed events reading
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;
}