mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
Fix hexadecimal line numbers in error reports
This commit is contained in:
parent
c16fb61bea
commit
3c86e14ea4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue