Skip to content

Commit

Permalink
GUITable typo fixes in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrl committed Jun 23, 2014
1 parent 089fc01 commit a578f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guiTable.cpp
Expand Up @@ -446,7 +446,7 @@ void GUITable::setTable(const TableOptions &options,
} }


if (m_has_tree_column) { 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) { for (s32 i = 0; i < rowcount; ++i) {
if (i == rowcount-1 || m_rows[i].indent >= m_rows[i+1].indent) if (i == rowcount-1 || m_rows[i].indent >= m_rows[i+1].indent)
for (s32 j = 0; j < m_rows[i].cellcount; ++j) for (s32 j = 0; j < m_rows[i].cellcount; ++j)
Expand Down Expand Up @@ -798,7 +798,7 @@ bool GUITable::OnEvent(const SEvent &event)
} }


// find the selected item, starting at the current selection // 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 old_selected = m_selected;
s32 start = MYMAX(m_selected, 0); s32 start = MYMAX(m_selected, 0);
s32 rowcount = m_visible_rows.size(); s32 rowcount = m_visible_rows.size();
Expand Down

0 comments on commit a578f34

Please sign in to comment.