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-b9f4589650daunstable
parent
90278f308b
commit
2de7f9eb30
|
@ -105,7 +105,7 @@ class Omelet
|
|||
|
||||
hextag = ''
|
||||
eggtag.each_byte do |thischar|
|
||||
decchar = "%02x" % thischar
|
||||
decchar = "%02x" % thischar[0,1].unpack('C')
|
||||
hextag = decchar + hextag
|
||||
end
|
||||
hextag = hextag + "01"
|
||||
|
|
Loading…
Reference in New Issue