Squash GCC7 warning for ‘~’ on a boolean expression.
This commit is contained in:
parent
e418416c77
commit
2557335f1b
|
@ -2861,7 +2861,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
|
|||
return false;
|
||||
}
|
||||
|
||||
redraw &= ~textarea_set_caret_internal(ta, caret);
|
||||
redraw &= !textarea_set_caret_internal(ta, caret);
|
||||
|
||||
/* TODO: redraw only the bit that changed */
|
||||
msg.ta = ta;
|
||||
|
|
Loading…
Reference in New Issue