[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

@@ -457,7 +457,7 @@ static wchar_t get_quote(const wcstring &cmd_str, size_t len) {
wchar_t res = 0;
const wchar_t *const cmd = cmd_str.c_str();
while (1) {
while (true) {
if (!cmd[i]) break;
if (cmd[i] == L'\\') {