]> Dogcows Code - chaz/openbox/commitdiff
make both for's work teh same way
authorDana Jansens <danakj@orodu.net>
Fri, 19 Jul 2002 22:35:46 +0000 (22:35 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 19 Jul 2002 22:35:46 +0000 (22:35 +0000)
util/epist/epist.cc

index 25f7e62ab9a6e5e6031678528efbe17aec873f76..a9d017928c5148d5e5cdf077d6f222e29e4714cd 100644 (file)
@@ -102,10 +102,9 @@ void epist::activateGrabs() {
   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);
     }
This page took 0.02423 seconds and 4 git commands to generate.