projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
175a7e5
)
when updating the client menu for windows that aren't in the client menu, just ignore...
author
Dana Jansens
<danakj@orodu.net>
Sat, 10 Aug 2002 16:53:17 +0000
(16:53 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 10 Aug 2002 16:53:17 +0000
(16:53 +0000)
src/Basemenu.cc
patch
|
blob
|
history
diff --git
a/src/Basemenu.cc
b/src/Basemenu.cc
index
748b0a6
..
90d5e45
100644
(file)
--- a/
src/Basemenu.cc
+++ b/
src/Basemenu.cc
@@
-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);
}