commit | 289320a9b19e6be855756e54a545615026b099f8 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Sat Jul 11 19:09:24 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Sat Jul 11 19:09:24 2009 +0000 |
tree | fba59df66e8f052be9cf2718d156f7f706867c09 | |
parent | 4cbbbddf22a74b7e3d13576641e650775880295c [diff] |
Copy was using the real line length which after resize can be larger than the screen width. When built with -DDEBUG, this made the grid bounds checking code kill the server. Restrict copying to the actual width. From Kalle Olavi Niemitalo, thanks.