diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-05-15 07:42:14 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-15 07:42:14 -0700 |
commit | 2feedf46fa86c19095a9f302d1d7a44d3416384d (patch) | |
tree | c5555f630309bc6808acbf7b3957346e745dcb65 /qt-models | |
parent | 1bdf00b2b472078a0b24f1c269782d822cb96e02 (diff) | |
download | subsurface-2feedf46fa86c19095a9f302d1d7a44d3416384d.tar.gz |
Cleanup: small coding style fixes
And addressing a cut and paste error in a comment.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/divetripmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index 2fcdc0d89..dd871d80d 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -89,8 +89,8 @@ static int countPhotos(const struct dive *d) pic_offset = picture->offset.seconds; if ((pic_offset < -bufperiod) | (pic_offset > diveTotaltime+bufperiod)) { icon_index |= 0x02; // If picture is before/after the dive - } // then set the appropriate bit ... - else { + // then set the appropriate bit ... + } else { icon_index |= 0x01; // else set the bit for picture during the dive } } |