Skip to content

Commit

Permalink
Explicitly specify the type of TextFont's size when formatting
Browse files Browse the repository at this point in the history
Works around weird edge case with android ndk16
  • Loading branch information
edo9300 committed Sep 23, 2024
1 parent 1c42a5a commit cb165fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gframe/game_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ std::string serializeOption<std::wstring>(const std::wstring& value) {

template<>
std::string serializeOption(const ygo::GameConfig::TextFont& value) {
return epro::format("{} {}", Utils::ToUTF8IfNeeded(value.font), value.size);
return epro::format("{} {:d}", Utils::ToUTF8IfNeeded(value.font), value.size);
}

template<>
Expand Down

0 comments on commit cb165fd

Please sign in to comment.