]> Dogcows Code - chaz/openbox/commitdiff
when updating the client menu for windows that aren't in the client menu, just ignore...
authorDana Jansens <danakj@orodu.net>
Sat, 10 Aug 2002 16:53:17 +0000 (16:53 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 10 Aug 2002 16:53:17 +0000 (16:53 +0000)
src/Basemenu.cc

index 748b0a68df57938a3c3db7d76e1facaf9a4352cf..90d5e458ebcdc8e21b56fd0e47ff1e0c9f2eb037 100644 (file)
@@ -982,6 +982,6 @@ void Basemenu::reconfigure(void) {
 
 void Basemenu::changeItemLabel(unsigned int index, const string& label) {
   BasemenuItem *item = find(index);
-  assert(item);
-  item->newLabel(label);
+  if (item)
+    item->newLabel(label);
 }
This page took 0.022946 seconds and 4 git commands to generate.