fixes a stack trace in converting a char to hex in ruby 1.9.x

git-svn-id: file:///home/svn/framework3/trunk@12571 4d416f70-5f16-0410-b530-b9f4589650da
unstable
David Rude 2011-05-09 20:48:40 +00:00
parent 90278f308b
commit 2de7f9eb30
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class Omelet
hextag = '' hextag = ''
eggtag.each_byte do |thischar| eggtag.each_byte do |thischar|
decchar = "%02x" % thischar decchar = "%02x" % thischar[0,1].unpack('C')
hextag = decchar + hextag hextag = decchar + hextag
end end
hextag = hextag + "01" hextag = hextag + "01"