lib/sugarcube/symbol.rb in sugarcube-0.18.2 vs lib/sugarcube/symbol.rb in sugarcube-0.18.3

- old
+ new

@@ -671,19 +671,19 @@ size ||= UIFont.systemFontSize # system fonts if Symbol.system_fonts.has_key? self font = look_in(Symbol.system_fonts) if size.is_a?(Symbol) - size = Symbol.font_sizes.fetch(size).uifontsize + size = size.uifontsize end if font.is_a?(Symbol) return UIFont.send(font, size) else return font.uifont(size) end else - size = look_in(font_sizes).uifontsize + size = size.uifontsize return UIFont.systemFontOfSize(size) end end def uifontsize