1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-24 19:52:37 +01:00

Fix hexadecimal line numbers in error reports

This commit is contained in:
Nekotekina 2020-12-17 17:00:06 +03:00
parent c16fb61bea
commit 3c86e14ea4

View File

@ -250,11 +250,11 @@ void fmt_class_string<src_loc>::format(std::string& out, u64 arg)
if (loc.col != umax)
{
fmt::append(out, "\n(in file %s:%s[:%s]", loc.file, loc.line, loc.col);
fmt::append(out, "\n(in file %s:%u[:%u]", loc.file, loc.line, loc.col);
}
else
{
fmt::append(out, "\n(in file %s:%s", loc.file, loc.line);
fmt::append(out, "\n(in file %s:%u", loc.file, loc.line);
}
if (loc.func && *loc.func)