mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:15:39 +00:00
UI: IniUser: Simplify HotKey::listCount()
This commit is contained in:
parent
33e8821a5f
commit
2fd8d4b1ea
@ -23,7 +23,7 @@ const char *const list[] = {
|
||||
appGroupModifier,
|
||||
quit,
|
||||
};
|
||||
const int listCount = sizeof(list) / sizeof(list[0]);
|
||||
const int listCount = int(std::size(list));
|
||||
|
||||
const char *const defaultValue(const char *key)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user