[PATCH] Fix a couple of typos

Torstein Husebø torstein at huseboe.net
Thu Mar 19 05:32:43 PDT 2015


Signed-off-by: Torstein Husebø <torstein at huseboe.net>
---
 libdivecomputer.c        | 2 +-
 qt-ui/mainwindow.cpp     | 2 +-
 qt-ui/modeldelegates.cpp | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libdivecomputer.c b/libdivecomputer.c
index 942b1ec149..950b9da4ed 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 b9e0f9877f..21d36d92f2 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 c6c46aa46a..66533b652c 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();
 }
-- 
2.3.3



More information about the subsurface mailing list