Merge lp:~widelands-dev/widelands/bugfix-1801208 into lp:widelands
Proposed by
Arty
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 8923 | ||||
Proposed branch: | lp:~widelands-dev/widelands/bugfix-1801208 | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
48 lines (+14/-4) 2 files modified
src/ui_basic/multilinetextarea.cc (+12/-3) src/ui_basic/multilinetextarea.h (+2/-1) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bugfix-1801208 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+358594@code.launchpad.net |
Commit message
Changed some types from uint to int to avoid overflows in calculations.
Forced the text anchor for drawing multiline text areas to be non-negative, so that text alignment wouldn't be based on overlong lines. (Otherwise short lines wouldn't be aligned properly, possibly even be outside the visible area.)
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 4206. State: errored. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 453338126. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ bugfix_ 1801208- 4002.
Appveyor build 4002. State: failed. Details: https:/