commit | 1dd01eb4e1cd984f58fe4b8962595df529af8cfe | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Mon Jan 02 13:31:42 2017 -0600 |
committer | Benno Schulenberg <bensberg@justemail.net> | Tue Jan 03 14:23:40 2017 +0100 |
tree | 01925e0acd7a137ebaa69638ec0d4c83c646572f | |
parent | fd0589d8bca2154c9f2d33e68b6fe044d6a3dff7 [diff] |
tweaks: move a setting, fix a type, and rearrange a line in do_mouse() The value of sameline doesn't change, so it can be initialized to that. Since i holds openfile->current_y, it should be ssize_t, not size_t. And it's better to do the most significant part of a calculation first.