[*] Another gross bug
This commit is contained in:
parent
8002d6cba2
commit
1159bf3ca3
@ -149,7 +149,7 @@ namespace Aurora::Locale
|
||||
{
|
||||
try
|
||||
{
|
||||
if (ns < AuUInt64(1000000000))
|
||||
if (ns < AuMSToNS<AuUInt64>(1000))
|
||||
{
|
||||
const auto ms = ns / 1000000;
|
||||
const auto remNs = ns % 1000000;
|
||||
@ -157,7 +157,7 @@ namespace Aurora::Locale
|
||||
}
|
||||
else
|
||||
{
|
||||
return ConvertMSToTimescale(ns / AuUInt64(1000000000));
|
||||
return ConvertMSToTimescale(AuNSToMS<AuUInt64>(1000));
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
|
Loading…
Reference in New Issue
Block a user