mirror of https://github.com/0intro/wmii
Add a missing 'break' statement.
This commit is contained in:
parent
7fd74403fc
commit
fda2ca35cc
|
@ -365,16 +365,18 @@ send_frame(Frame *f, int sym, Bool swap) {
|
|||
|
||||
switch(sym) {
|
||||
case LUP:
|
||||
fp = f->aprev;
|
||||
if(!fp)
|
||||
return Ebadvalue;
|
||||
fp = fp->aprev;
|
||||
break;
|
||||
fp = f->aprev;
|
||||
if(!fp)
|
||||
return Ebadvalue;
|
||||
fp = fp->aprev;
|
||||
break;
|
||||
case LDOWN:
|
||||
fp = f->anext;
|
||||
if(!fp)
|
||||
return Ebadvalue;
|
||||
break;
|
||||
fp = f->anext;
|
||||
if(!fp)
|
||||
return Ebadvalue;
|
||||
break;
|
||||
default:
|
||||
assert(!"can't get here");
|
||||
}
|
||||
|
||||
if(swap) {
|
||||
|
@ -427,6 +429,7 @@ send_client(View *v, Message *m, Bool swap) {
|
|||
to = c->revert;
|
||||
else
|
||||
to = v->area->next;
|
||||
break;
|
||||
case LUP:
|
||||
case LDOWN:
|
||||
return send_frame(f, sym, swap);
|
||||
|
|
Loading…
Reference in New Issue