Pārlūkot izejas kodu

* fix for Mantis #32476: use the correct string to check i2

git-svn-id: trunk@37361 -
svenbarth 7 gadi atpakaļ
vecāks
revīzija
5c447cba50
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      compiler/cutils.pas

+ 1 - 1
compiler/cutils.pas

@@ -1243,7 +1243,7 @@ implementation
             exit(res);
           { if one of the two is at the end while the other isn't, add a '.0' }
           if (i1>length(s1)) and
-             (i2<=length(s1)) then
+             (i2<=length(s2)) then
             s1:=s1+'.0'
           else if i2>length(s2) then
             s2:=s2+'.0';