diff options
Diffstat (limited to 'nim/pragmas.pas')
-rw-r--r-- | nim/pragmas.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nim/pragmas.pas b/nim/pragmas.pas index 372d8d4a4..68bc366f1 100644 --- a/nim/pragmas.pas +++ b/nim/pragmas.pas @@ -197,10 +197,10 @@ begin while it <> nil do begin if it.kind = kind then begin if ospCaseInsensitive in platform.OS[targetOS].props then begin - if it.path = path then begin result := it; exit end; + if cmpIgnoreCase(it.path, path) = 0 then begin result := it; exit end; end else begin - if cmpIgnoreCase(it.path, path) = 0 then begin result := it; exit end; + if it.path = path then begin result := it; exit end; end end; it := PLib(it.next) |