summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/QuickSearch/i_ok.inc2
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));