Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/FlagBrew/Checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoGiordano committed Sep 3, 2018
2 parents dad3174 + fad48c1 commit f3e48f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions switch/source/KeyboardManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ KeyboardManager::KeyboardManager(void)
);
buttons.push_back(spacebar);

// set first button as selected
buttons.at(0)->selected(true);
buttons.at(0)->invertColors();
prevSelectedButtonIndex = 0;
// set OK button as selected
buttons.at(INDEX_OK)->selected(true);
buttons.at(INDEX_OK)->invertColors();
prevSelectedButtonIndex = INDEX_OK;
}

KeyboardManager::~KeyboardManager(void)
Expand Down Expand Up @@ -362,4 +362,4 @@ std::pair<bool, std::string> KeyboardManager::keyboard(const std::string& sugges
}

return std::make_pair(false, suggestion);
}
}

0 comments on commit f3e48f8

Please sign in to comment.