URL: <http://gna.org/bugs/?22046>
Summary: Error when selectiong small gui elements Project: Battle for Wesnoth Submitted by: gfgtdf Submitted on: Sa 17 Mai 2014 19:47:15 UTC Category: Bug Severity: 3 - Normal Priority: 5 - Normal Item Group: None of the others Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 1.13.0-dev Operating System: win7 _______________________________________________________ Details: When i select gui elements that are very small i get an error message about canvas.cpp line 1119 that h < 0. The reason i think is, that in https://github.com/wesnoth/wesnoth/blob/master/data/gui/default/macros/_initial.cfg#L131 we use (height - 20) for dialogs/selection-border-left.png s height, which is obiously less than 0 as soon as the height is smaller than 20. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22046> _______________________________________________ Nachricht gesendet von/durch Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs