diff --git a/docs/Contributors.txt b/docs/Contributors.txt index 810c846e2f..92b17dfd51 100644 --- a/docs/Contributors.txt +++ b/docs/Contributors.txt @@ -8,6 +8,7 @@ Cliff Baeseman Colin Western Curtis White Darek Mazur +Eric Chapman GongYu Hans-Joachim Ott Jason King diff --git a/lcl/postscriptprinter.pas b/lcl/postscriptprinter.pas index ee5a4f45b7..2280444810 100644 --- a/lcl/postscriptprinter.pas +++ b/lcl/postscriptprinter.pas @@ -262,7 +262,7 @@ var MyString: String; begin if FFontFace=AValue then exit; - if pos(' ',AValue) > -1 then + if pos(' ',AValue) > 0 then FFontFace := '('+AValue+')' else FFontFace:=AValue;