summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch/sr_window.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickSearch/sr_window.pas')
-rw-r--r--plugins/QuickSearch/sr_window.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas
index 1aa5a6f708..6580d79938 100644
--- a/plugins/QuickSearch/sr_window.pas
+++ b/plugins/QuickSearch/sr_window.pas
@@ -975,7 +975,7 @@ begin
// set new sort mark
SendMessage(header,HDM_GETITEM,qsopt.columnsort,lparam(@hdi));
- if (qsopt.flags and QSO_SORTASC)<>0 then
+ if (qsopt.flags and QSO_SORTASC)=0 then
hdi.fmt:=hdi.fmt or HDF_SORTDOWN
else
hdi.fmt:=hdi.fmt or HDF_SORTUP;