mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 13:49:16 +02:00
IDE, EditorOpts: Fix stringcompare for color-names
git-svn-id: trunk@57152 -
This commit is contained in:
parent
7a5ac2ef0c
commit
756867c662
@ -6832,7 +6832,7 @@ begin
|
||||
l := length(s1)
|
||||
else
|
||||
l := length(s2);
|
||||
while i < l do begin
|
||||
while i <= l do begin
|
||||
Result := ord(s1[i]) - ord(s2[i]);
|
||||
if Result <> 0 then
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user