Commit 5e28796d authored by Kurt Hindenburg's avatar Kurt Hindenburg

fix issue of readability-implicit-bool-cast

parent e6fcf3e6
......@@ -241,7 +241,7 @@ bool HistoryScrollFile::isWrappedLine(int lineno)
if (lineno >= 0 && lineno <= getLines()) {
unsigned char flag = 0;
_lineflags.get((unsigned char*)&flag, sizeof(unsigned char), (lineno)*sizeof(unsigned char));
return flag;
return flag != 0u;
}
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment