From 2a00565bc4457375ecaf822f67a26434e08d9e93 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 31 Mar 2007 15:51:44 +0000 Subject: Added chinese simplified translation (Andy Wu) Fixed rfpdf chinese.rb git-svn-id: http://redmine.rubyforge.org/svn/trunk@393 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- vendor/plugins/rfpdf/lib/rfpdf/chinese.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vendor/plugins/rfpdf') diff --git a/vendor/plugins/rfpdf/lib/rfpdf/chinese.rb b/vendor/plugins/rfpdf/lib/rfpdf/chinese.rb index 731d582a2..6fe3eee8a 100644 --- a/vendor/plugins/rfpdf/lib/rfpdf/chinese.rb +++ b/vendor/plugins/rfpdf/lib/rfpdf/chinese.rb @@ -132,7 +132,7 @@ module PDF_Chinese while(iwmax) #Automatic line break if(sep==-1 or i==j) @@ -233,7 +233,7 @@ module PDF_Chinese end end #Last chunk - if(border and not border.index('B').nil?) + if(border and not border.to_s.index('B').nil?) b+='B' end Cell(w,h,s[j,i-j],b,2,align,fill) -- cgit v1.2.3