commit | aa1ae0a1441964079df63247405858506e1d2c93 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Sun Apr 10 21:16:19 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Mon Apr 11 20:38:05 2016 +0200 |
tree | efeaef1a2c192afe98bdedb43119d345105f38a4 | |
parent | dbe39901b2ad297732bb474177ce37ce4b9b72e7 [diff] |
screen: concentrate the setting of placewewant Instead of saving the current value of placewewant, then setting the new value, and then passing the old value to edit_redraw() in seven different places, just let edit_redraw() do this saving and setting. In the bargain placewewant is now only recalculated when it matters -- when allow_update is TRUE -- and not when it's superfluous.