]> Dogcows Code - chaz/openbox/commitdiff
remove some old comments
authorDana Jansens <danakj@orodu.net>
Mon, 30 Dec 2002 08:41:42 +0000 (08:41 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 30 Dec 2002 08:41:42 +0000 (08:41 +0000)
src/bindings.cc

index 73c11b0b8c69b4bf74f2519c3b98bf4d2eb8e893..f34b9af3d682e0d521bbe8c1cc2e7b191080119c 100644 (file)
@@ -41,15 +41,13 @@ void OBBindings::display()
 
 bool OBBindings::translate(const std::string &str, Binding &b)
 {
-  unsigned int mods = 0;
-  
   // parse out the base key name
   std::string::size_type keybegin = str.find_last_of('-');
   keybegin = (keybegin == std::string::npos) ? 0 : keybegin + 1;
   std::string key(str, keybegin);
 
-  // XXX: get some modifiers up in the hizzie
   // parse out the requested modifier keys
+  unsigned int mods = 0;
   std::string::size_type begin = 0, end;
   while (begin != keybegin) {
     end = str.find_first_of('-', begin);
@@ -124,9 +122,6 @@ BindingTree *OBBindings::buildtree(const StringVect &keylist, int id)
     p->chain = false;
   }
 
-//  printf("BUILDING:\n");
-//  print_branch(ret, "");
-  
   // successfully built a tree
   return ret;
 }
This page took 0.027729 seconds and 4 git commands to generate.