commit | d8de72ca77a6bbe2e8b9244480d700d343a6a656 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicholas.marriott@gmail.com> | Sun Jul 12 17:11:07 2009 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Sun Jul 12 17:11:07 2009 +0000 |
tree | 12d608f1e33bbe86b8bc534066b3c459a84e51d2 | |
parent | ef5f356da2a40592b3583059af8a4a7f163da27a [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.