mirror of https://github.com/yshui/picom.git
c2: fix typo
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
5d79da6387
commit
db6f11624b
2
src/c2.c
2
src/c2.c
|
@ -1681,7 +1681,7 @@ bool c2_match(session_t *ps, const struct managed_win *w, const c2_lptr_t *condl
|
|||
///
|
||||
/// Returns whether the iteration was stopped early.
|
||||
bool c2_list_foreach(const c2_lptr_t *condlist, c2_list_foreach_cb_t cb, void *data) {
|
||||
for (auto i = condlist; i; condlist = condlist->next) {
|
||||
for (auto i = condlist; i; i = i->next) {
|
||||
if (cb(i, data)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue