diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-07-17 17:05:44 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-07-17 17:05:44 +0200 |
commit | e52262223b4d044c9de5ee6e69808c9f9ac9a28e (patch) | |
tree | 51b1d82711d87ad5a910375e4bfc13c2fbc078fd | |
parent | 85292f459b724de0c0e82b10987d4e5bef6dd095 (diff) |
bstr: use designators
-rw-r--r-- | FICS/gamedb.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c index 99f7a85..a766ba8 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -58,13 +58,13 @@ PUBLIC game *garray = NULL; PUBLIC int g_num = 0; PUBLIC char *bstr[] = { - "untimed", - "blitz", - "standard", - "non-standard", - "wild", - "lightning", - "bughouse" + [TYPE_UNTIMED] = "untimed", + [TYPE_BLITZ] = "blitz", + [TYPE_STAND] = "standard", + [TYPE_NONSTANDARD] = "non-standard", + [TYPE_WILD] = "wild", + [TYPE_LIGHT] = "lightning", + [TYPE_BUGHOUSE] = "bughouse" }; PUBLIC char *rstr[] = { "unrated", |