summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdivecomputer.c2
-rw-r--r--qt-ui/mainwindow.cpp2
-rw-r--r--qt-ui/modeldelegates.cpp2
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();
}