From ec838d6e78300464e53a259ed5c4d2d5a796037a Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 30 Jan 2013 00:06:20 +0000 Subject: [PATCH] IDE: add markup for user defined word-lists, fix for finding duplicates git-svn-id: trunk@40034 - --- ide/sourcesyneditor.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ide/sourcesyneditor.pas b/ide/sourcesyneditor.pas index 131e59b302..096315fd90 100644 --- a/ide/sourcesyneditor.pas +++ b/ide/sourcesyneditor.pas @@ -509,9 +509,9 @@ begin if AnOnlyWeakerOrEqual and (WeakerByBounds = wParam) then // Entry can not be weaker continue; - if not ( ([WeakerByEnabled, WeakerByBounds, WeakerByCase] - [wEqual] = [wEntry]) or - ([WeakerByEnabled, WeakerByBounds, WeakerByCase] - [wEqual] = [wParam]) - ) + if ( ([WeakerByEnabled, WeakerByBounds, WeakerByCase] - [wEqual] = [wEntry]) or + ([WeakerByEnabled, WeakerByBounds, WeakerByCase] - [wEqual] = [wParam]) + ) then exit;