diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-30 05:43:14 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-30 05:49:41 +0900 |
commit | f037b9e13f147275be756c06199cc6da46d69fae (patch) | |
tree | 40d417fae52dcbbb7753d61903936645e8e681d3 /xslt | |
parent | 94c3545c180f05db50eb223c658a3534a8dcfa0d (diff) | |
download | subsurface-f037b9e13f147275be756c06199cc6da46d69fae.tar.gz |
Code layout changes
Tomaz convinced me (with help from Linus) that it might be a good idea
to go with the compacter "single line" case statements in some specific
instances where this makes the code much more compact and easier to
read.
While doing that I changed Linus' code to do 'retVal = ...; break;'
instead of just 'return ...;' - this is more consistent and makes
debugging a little easier.
And while doing all that, I also cleaned up divelistview.cpp a little bit.
And removed an unused variable.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions