diff --git a/components/printers/unix/cupsprinters.inc b/components/printers/unix/cupsprinters.inc index 147283bcd1..05e21261ec 100644 --- a/components/printers/unix/cupsprinters.inc +++ b/components/printers/unix/cupsprinters.inc @@ -397,7 +397,7 @@ var CurPath: String; begin CurPath:=CleanAndExpandDirectory(Path); - Result:=DirPathExists(NewPath); + Result:=DirPathExists(CurPath); if Result then NewPath:=CurPath; end;