mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 01:29:20 +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)
|
l := length(s1)
|
||||||
else
|
else
|
||||||
l := length(s2);
|
l := length(s2);
|
||||||
while i < l do begin
|
while i <= l do begin
|
||||||
Result := ord(s1[i]) - ord(s2[i]);
|
Result := ord(s1[i]) - ord(s2[i]);
|
||||||
if Result <> 0 then
|
if Result <> 0 then
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user