Skip to content

Commit

Permalink
Restore range check.
Browse files Browse the repository at this point in the history
  • Loading branch information
jostephd authored and GregoryLundberg committed Nov 30, 2017
1 parent a3798bb commit 4c0cb68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotkey/hotkey_command.cpp
Expand Up @@ -322,6 +322,7 @@ void set_active_scopes(hk_scopes s)

bool is_scope_active(scope s)
{
assert(s < SCOPE_COUNT);
return scope_active_[s];
}

Expand Down

0 comments on commit 4c0cb68

Please sign in to comment.