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.
Showing
+3 -5
Please register or sign in to comment