diff options
author | Robert C. Helling <helling@lmu.de> | 2013-03-04 09:15:46 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-04 00:26:32 -0800 |
commit | c13a10986e3fbdd8269db5ebfc7a33ad5326d2cb (patch) | |
tree | 5928414466e20aad8f3c593c1cd95955522c9ad4 /libdivecomputer.h | |
parent | a5a3e0a72ea9f0108a8387318c82b43d06856765 (diff) | |
download | subsurface-c13a10986e3fbdd8269db5ebfc7a33ad5326d2cb.tar.gz |
Improve pane position saving codev3.0.2
We should test for being in PANE_THREE mode in save_pane_position() and
replace the if()'s testing against window geometry. This eliminates some
code duplication and, more importantly, save_pane_position() is also
called from save_window_geometry() whose calling pattern is not obvious.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
0 files changed, 0 insertions, 0 deletions