[clang-tidy] Use bool literals

Found with modernize-use-bool-literals

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-11-25 16:36:13 -08:00
committed by ridiculousfish
parent c3fa8c04bf
commit 4087b2ee15
9 changed files with 21 additions and 21 deletions

View File

@@ -171,7 +171,7 @@ char_event_t input_event_queue_t::readch() {
}
wchar_t res;
mbstate_t state = {};
while (1) {
while (true) {
auto evt = readb();
if (!evt.is_char()) {
return evt;