Commit 0952e29f authored by Luis Javier Merino's avatar Luis Javier Merino Committed by Tomaz Canabrava
Browse files

Fix misplaced parenthesis

This was causing "notcurses-demo v" (view) to run really slow.
parent f717cd5f
Pipeline #145083 passed with stage
in 2 minutes and 2 seconds
......@@ -2020,7 +2020,7 @@ void Screen::delPlacements(int del, qint64 id, qint64 pid, int x, int y, int z)
}
break;
case 'i':
if ((id < 0 || placement->id) == id && (pid < 0 || placement->pid == pid)) {
if ((id < 0 || placement->id == id) && (pid < 0 || placement->pid == pid)) {
remove = true;
}
break;
......
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