summaryrefslogtreecommitdiff
path: root/src/guiTable.cpp
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2014-06-24 01:06:24 +0200
committerKahrl <kahrl@gmx.net>2014-06-24 01:06:24 +0200
commita578f34db551bdd3c822ec03b1e1a7d542026709 (patch)
tree91a7ab32c8ea9b0d4299dc6079a9a5082f650717 /src/guiTable.cpp
parent089fc010abe439aea154813e3e31bc9477a84308 (diff)
downloadminetest-a578f34db551bdd3c822ec03b1e1a7d542026709.tar.gz
minetest-a578f34db551bdd3c822ec03b1e1a7d542026709.tar.bz2
minetest-a578f34db551bdd3c822ec03b1e1a7d542026709.zip
GUITable typo fixes in comments
Diffstat (limited to 'src/guiTable.cpp')
-rw-r--r--src/guiTable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiTable.cpp b/src/guiTable.cpp
index 4d6fc1950..c8930410a 100644
--- a/src/guiTable.cpp
+++ b/src/guiTable.cpp
@@ -446,7 +446,7 @@ void GUITable::setTable(const TableOptions &options,
}
if (m_has_tree_column) {
- // Treeview: convent tree to indent cells on leaf rows
+ // Treeview: convert tree to indent cells on leaf rows
for (s32 i = 0; i < rowcount; ++i) {
if (i == rowcount-1 || m_rows[i].indent >= m_rows[i+1].indent)
for (s32 j = 0; j < m_rows[i].cellcount; ++j)
@@ -798,7 +798,7 @@ bool GUITable::OnEvent(const SEvent &event)
}
// find the selected item, starting at the current selection
- // dont change selection if the key buffer matches the current item
+ // don't change selection if the key buffer matches the current item
s32 old_selected = m_selected;
s32 start = MYMAX(m_selected, 0);
s32 rowcount = m_visible_rows.size();