mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
Fix switch nesting in handler_matches
I guess this worked, but whoops.
This commit is contained in:
@@ -120,8 +120,8 @@ static bool handler_matches(const event_handler_t &classv, const event_t &instan
|
||||
case event_type_t::generic: {
|
||||
return classv.desc.str_param1 == instance.desc.str_param1;
|
||||
}
|
||||
case event_type_t::any: {
|
||||
default:
|
||||
case event_type_t::any:
|
||||
default: {
|
||||
DIE("unexpected classv.type");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user