mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 04:02:42 +01:00
Fix hexadecimal line numbers in error reports
This commit is contained in:
parent
c16fb61bea
commit
3c86e14ea4
@ -250,11 +250,11 @@ void fmt_class_string<src_loc>::format(std::string& out, u64 arg)
|
|||||||
|
|
||||||
if (loc.col != umax)
|
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
|
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)
|
if (loc.func && *loc.func)
|
||||||
|
Loading…
Reference in New Issue
Block a user