From 516cedaa471d0e5ecce601361216de1d2f1e77de Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <jp_lang@yahoo.fr>
Date: Sun, 18 Feb 2007 10:33:22 +0000
Subject: [PATCH] syntax error in rfpdf/makefont.rb

git-svn-id: http://redmine.rubyforge.org/svn/trunk@248 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 vendor/plugins/rfpdf/lib/rfpdf/makefont.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vendor/plugins/rfpdf/lib/rfpdf/makefont.rb b/vendor/plugins/rfpdf/lib/rfpdf/makefont.rb
index ffc98b48..bda7a70e 100644
--- a/vendor/plugins/rfpdf/lib/rfpdf/makefont.rb
+++ b/vendor/plugins/rfpdf/lib/rfpdf/makefont.rb
@@ -1699,7 +1699,7 @@ def MakeFont(fontfile, afmfile, enc = 'cp1252', patch = {}, type = 'TrueType')
     s += "    def FontDef.cw\n#{w}\n    end\n"
 
     s += "    def FontDef.enc\n        '#{enc}'\n    end\n"
-    s += "    def FontDef.diff\n        #{(diff == nil) || (diff == '') ? 'nil' : '\'' + diff '\''}\n    end\n"
+    s += "    def FontDef.diff\n        #{(diff == nil) || (diff == '') ? 'nil' : '\'' + diff + '\''}\n    end\n"
 
     basename = File.basename(afmfile, '.*')