diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-14 22:11:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-14 22:11:44 +0000 |
commit | e21a10b92274ca785e1c0f97431ce64307939721 (patch) | |
tree | b086d230ea911dc255d87f6016f92bd7e473781a /plugins/QuickSearch/i_ok.inc | |
parent | 33c6344fa6c675d869215c09eed86e8365dcc6e3 (diff) |
crash fix because of wrongly calculated array length
git-svn-id: http://svn.miranda-ng.org/main/trunk@14170 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch/i_ok.inc')
-rw-r--r-- | plugins/QuickSearch/i_ok.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/QuickSearch/i_ok.inc b/plugins/QuickSearch/i_ok.inc index e55ac3d945..7963da1808 100644 --- a/plugins/QuickSearch/i_ok.inc +++ b/plugins/QuickSearch/i_ok.inc @@ -174,7 +174,7 @@ var strdatetime:array [0..63] of WideChar;
dbtts:TDBTIMETOSTRING;
begin
- dbtts.cbDest :=sizeof(strdatetime);
+ dbtts.cbDest :=Length(strdatetime);
dbtts.szDest.w :=@strdatetime;
dbtts.szFormat.w:='d - t';
CallService(MS_DB_TIME_TIMESTAMPTOSTRINGT,data,lparam(@dbtts));
|