Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5295
e93f8b46-1217-0410-a6f0-
8f06a7374b81
#Automatic line break
if(sep==-1 or i==j)
if(i==j)
- i+=ascii ? 1 : 3
+ i+=ascii ? 1 : 2
end
Cell(w,h,s[j,i-j],b,2,align,fill)
else
b=b2
end
else
- i+=ascii ? 1 : 3
+ i+=ascii ? 1 : 2
end
end
#Last chunk
next
end
if(i==j)
- i+=ascii ? 1 : 3
+ i+=ascii ? 1 : 2
end
Cell(w,h,s[j,i-j],0,2,'',0,link)
else
end
nl+=1
else
- i+=ascii ? 1 : 3
+ i+=ascii ? 1 : 2
end
end
#Last chunk