summaryrefslogtreecommitdiffstats
path: root/qt-ui/printlayout.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 12:19:45 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 13:02:23 -0800
commit1b103c5c69083a106e88cb423bab8ade639c71d6 (patch)
tree0105337ce49ba6b49a1d9f514d284f6e69bd3533 /qt-ui/printlayout.cpp
parent13a2f14be03d0493682917959e0a61bee686eced (diff)
downloadsubsurface-1b103c5c69083a106e88cb423bab8ade639c71d6.tar.gz
Another small tweak to whitespace tool
clang-format doesn't appear to reindent multi line #define statements correctly - so this hopefully will clean those up. The included whitespace corrections to the code should stay in place when using the updated tool. This includes cleaning up some multi-line comments that were messed up the last time around as well as a few other minor changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r--qt-ui/printlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp
index cf566e604..e06bedaa2 100644
--- a/qt-ui/printlayout.cpp
+++ b/qt-ui/printlayout.cpp
@@ -114,7 +114,7 @@ int PrintLayout::estimateTotalDives() const
* p is the padding between elements
*/
#define ESTIMATE_DIVE_DIM(S, n, p) \
- ((S) - ((n) - 1) * (p)) / (n);
+ ((S) - ((n) - 1) * (p)) / (n);
void PrintLayout::printProfileDives(int divesPerRow, int divesPerColumn)
{