Bug#439393: hex-a-hop: Latest (unreleased) version crashes on map screen
jensseidel at users.sf.net
Sun Aug 26 23:51:35 UTC 2007
tags 439393 +confirmed
On Sat, Aug 25, 2007 at 07:33:06PM +0400, Yuri Kozlov wrote:
> The same crash (load save1.dat file, goto map, make fast moving mouse
> from the left to the right so that the map do scroll):
Thanks for sharing your saved game :-)
I could verify it and have a (currently not perfect but working)
workaround. See the attached patch.
The problem occurs when text is displayed across window boundaries and
probably espcially if SDL Pango failed to wrap the text to the
specified maximal size.
It seems that
1) repositioning the text to ensure it will be displayed inside the
2) resetting the maximal size not to the wanted value but to the
smallest possible value (if automatic wrapping failed) is necessary.
At least 2) seems to be just another SDL Pango bug. 1) is maybe not
I don't know whether I will be able to clean the patch tomorrow that's
why I attached a already working (but little bit ugly) patch.
Thanks for reporting!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1589 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070827/de60189b/attachment.obj
More information about the Pkg-games-devel