This bug occurs with ruby-sdl when trying to draw an empty string

a simple fix is to add 
 if text != ''
at the end of lines 317 and 321, so instead of
  font.drawBlendedUTF8(@screen,text,x,y,255,255,255)
you have
  font.drawBlendedUTF8(@screen,text,x,y,255,255,255) if text != ''

Personally I consider it a bug in ruby-sdl, for not checking inputs, but anyway.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to