[Hotfox] Compiling fails on FMT 9.1 with Bots (#2665)

This commit is contained in:
Aeadoin 2022-12-21 16:20:47 -05:00 committed by GitHub
parent c236c57a2c
commit e811cb1e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5487,7 +5487,7 @@ void bot_subcommand_bot_create(Client *c, const Seperator *sep)
} }
window_text.append( window_text.append(
fmt::format( fmt::format("{} {}",
class_substrs[i + 1], class_substrs[i + 1],
(i + 1) (i + 1)
) )
@ -5512,7 +5512,7 @@ void bot_subcommand_bot_create(Client *c, const Seperator *sep)
} }
window_text.append( window_text.append(
fmt::format( fmt::format("{}, {}",
race_substrs[i + 1], race_substrs[i + 1],
race_values[i + 1] race_values[i + 1]
) )
@ -5531,7 +5531,7 @@ void bot_subcommand_bot_create(Client *c, const Seperator *sep)
window_text.append(message_separator); window_text.append(message_separator);
window_text.append( window_text.append(
fmt::format( fmt::format("{}, {}",
gender_substrs[i], gender_substrs[i],
i i
) )