make both for's work teh same way
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
3 deletions(-)
jump to
M
util/epist/epist.cc
→
util/epist/epist.cc
@@ -102,10 +102,9 @@
ScreenList::const_iterator scrit, scrend = _screens.end(); for (scrit = _screens.begin(); scrit != scrend; ++scrit) { - ActionList::const_iterator end = _actions.end(); + ActionList::const_iterator ait, end = _actions.end(); - for(ActionList::const_iterator ait = _actions.begin(); - ait != end; ++ait) { + for(ait = _actions.begin(); ait != end; ++ait) { XGrabKey(getXDisplay(), ait->keycode(), ait->modifierMask(), (*scrit)->rootWindow(), True, GrabModeAsync, GrabModeAsync); }