mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-08 07:14:31 +00:00
Mini: Fix missing format in FormatNumber()
This commit is contained in:
@@ -1423,7 +1423,7 @@ std::string Host::FormatNumber(NumberFormatType type, s64 value)
|
||||
#endif
|
||||
|
||||
char buf[128];
|
||||
std::strftime(buf, std::size(buf), "%x", &ttime);
|
||||
std::strftime(buf, std::size(buf), format, &ttime);
|
||||
ret.assign(buf);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -613,7 +613,7 @@ std::string Host::FormatNumber(NumberFormatType type, s64 value)
|
||||
#endif
|
||||
|
||||
char buf[128];
|
||||
std::strftime(buf, std::size(buf), "%x", &ttime);
|
||||
std::strftime(buf, std::size(buf), format, &ttime);
|
||||
ret.assign(buf);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user