summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
commit76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch)
tree8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /helpers.h
parent006265d7a088cff4fea665159dbb454956c2cd76 (diff)
downloadsubsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz
Massive automated whitespace cleanup
I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers.h b/helpers.h
index de0d4ce95..fcc3be619 100644
--- a/helpers.h
+++ b/helpers.h
@@ -28,18 +28,18 @@ void set_default_dive_computer_device(const char *name);
QString getSubsurfaceDataPath(QString folderToFind);
extern const QString get_dc_nickname(const char *model, uint32_t deviceid);
int gettimezoneoffset();
-int parseTemperatureToMkelvin(const QString& text);
+int parseTemperatureToMkelvin(const QString &text);
QString get_dive_date_string(timestamp_t when);
QString get_short_dive_date_string(timestamp_t when);
QString get_trip_date_string(timestamp_t when, int nr);
extern DiveComputerList dcList;
-#define M_OR_FT(_m,_f) ((prefs.units.length == units::METERS) ? ((_m) * 1000) : (feet_to_mm(_f)))
+#define M_OR_FT(_m, _f) ((prefs.units.length == units::METERS) ? ((_m) * 1000) : (feet_to_mm(_f)))
#if defined __APPLE__
-#define TITLE_OR_TEXT(_t,_m) "", _t + "\n" + _m
+#define TITLE_OR_TEXT(_t, _m) "", _t + "\n" + _m
#else
-#define TITLE_OR_TEXT(_t,_m) _t, _m
+#define TITLE_OR_TEXT(_t, _m) _t, _m
#endif
#endif // HELPERS_H