Allow error message to be formatted
This commit is contained in:
committed by
Jérôme Leclercq
parent
25957c4b7f
commit
a741672a51
@@ -363,7 +363,7 @@ namespace Nz
|
||||
}
|
||||
|
||||
// If we arrive here, the extent is invalid
|
||||
NazaraError("Invalid extent type (From) (0x" + NumberToString(UnderlyingCast(from.extent), 16) + ')');
|
||||
NazaraError("Invalid extent type (From) ({0:#x})", UnderlyingCast(from.extent));
|
||||
return Null();
|
||||
}
|
||||
|
||||
@@ -390,13 +390,13 @@ namespace Nz
|
||||
}
|
||||
|
||||
// If we arrive here, the extent is invalid
|
||||
NazaraError("Invalid extent type (From) (0x" + NumberToString(UnderlyingCast(from.extent), 16) + ')');
|
||||
NazaraError("Invalid extent type (From) ({0:#x})", UnderlyingCast(from.extent));
|
||||
return Null();
|
||||
}
|
||||
}
|
||||
|
||||
// If we arrive here, the extent is invalid
|
||||
NazaraError("Invalid extent type (To) (0x" + NumberToString(UnderlyingCast(to.extent), 16) + ')');
|
||||
NazaraError("Invalid extent type (To) ({0:#x})", UnderlyingCast(to.extent));
|
||||
return Null();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user