summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2015-04-17 19:35:12 +0000
committerAlexey Kulakov <panda75@bk.ru>2015-04-17 19:35:12 +0000
commitccd3c5c28396e7a26cd1f485fe1b1d9db6bf1178 (patch)
tree8403278f174a7b4ba500cad58e49bc417cd738cd
parente179723cf685f24e2137c3c56b90f3e093253372 (diff)
Quick search: "event count" column sort fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12895 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/QuickSearch/i_ok.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/QuickSearch/i_ok.inc b/plugins/QuickSearch/i_ok.inc
index 81f132e0ac..e55ac3d945 100644
--- a/plugins/QuickSearch/i_ok.inc
+++ b/plugins/QuickSearch/i_ok.inc
@@ -419,7 +419,8 @@ begin
end;
QSTO_EVENTCOUNT: begin
- res.text:=int2strw(db_event_count(hContact));
+ res.data:=db_event_count(hContact);
+ res.text:=int2strw(res.data);
end;
end;