diff options
author | Torstein Husebø <torstein@huseboe.net> | 2015-03-19 13:32:43 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-19 11:17:39 -0700 |
commit | 6a5279b952ec4d227078a67526e7ebdfb4523891 (patch) | |
tree | b57e4bb2944769eb164f3fa5ffff6b043cde77ed | |
parent | d3d3cd9e350ae0fddf9682fbf5e7c3b867d27596 (diff) | |
download | subsurface-6a5279b952ec4d227078a67526e7ebdfb4523891.tar.gz |
Fix a couple of typos
Signed-off-by: Torstein Husebø <torstein@huseboe.net>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | libdivecomputer.c | 2 | ||||
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 | ||||
-rw-r--r-- | qt-ui/modeldelegates.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c index 942b1ec14..950b9da4e 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -107,7 +107,7 @@ static int parse_gasmixes(device_data_t *devdata, struct dive *dive, dc_parser_t * dive computer, fill in the default tank information (if set) */ fill_default_cylinder(&dive->cylinder[i]); } - /* whatever happens, make sure there is a name for the cylidner */ + /* whatever happens, make sure there is a name for the cylinder */ if (same_string(dive->cylinder[i].type.description, "")) dive->cylinder[i].type.description = strdup(translate("gettextFromC", "unknown")); } diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index b9e0f9877..21d36d92f 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -613,7 +613,7 @@ void MainWindow::on_actionDivePlanner_triggered() graphics()->setPlanState(); - // create a simple starting dive, using the first gas from the just copied cylidners + // create a simple starting dive, using the first gas from the just copied cylinders setupForAddAndPlan("planned dive"); // don't translate, stored in XML file DivePlannerPointsModel::instance()->setupStartTime(); DivePlannerPointsModel::instance()->createSimpleDive(); diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp index c6c46aa46..66533b652 100644 --- a/qt-ui/modeldelegates.cpp +++ b/qt-ui/modeldelegates.cpp @@ -252,7 +252,7 @@ TankInfoDelegate::TankInfoDelegate(QObject *parent) : ComboBoxDelegate(TankInfoM void TankInfoDelegate::reenableReplot(QWidget *widget, QAbstractItemDelegate::EndEditHint hint) { MainWindow::instance()->graphics()->setReplot(true); - // FIXME: We need to replot after a cylidner is selected but the replot below overwrites + // FIXME: We need to replot after a cylinder is selected but the replot below overwrites // the newly selected cylinder. // MainWindow::instance()->graphics()->replot(); } |