openbsd-ports/x11/bbpager/patches/patch-src_wminterface_cxx
2022-03-11 20:15:18 +00:00

13 lines
459 B
Plaintext

--- src/wminterface.cxx.orig Fri Feb 19 19:14:47 2016
+++ src/wminterface.cxx Fri Feb 19 19:15:04 2016
@@ -84,8 +84,7 @@ void WMInterface::updateWindowList(void)
for (; pit != pit_end; pit++) {
if (!(*pit)->isMarked()) {
delete (*pit);
- bbtool->pagerWindowList().erase(pit);
- pit--;
+ bbtool->pagerWindowList().erase(pit--);
} else {
}
}