mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
Remove unnecessary IsNull functions
This commit is contained in:
parent
54ec64e159
commit
9956424c13
5 changed files with 17 additions and 31 deletions
|
|
@ -182,7 +182,7 @@ internal abstract class FontHandle : IFontHandle
|
|||
}
|
||||
|
||||
var fontPtr = substance.GetFontPtr(this);
|
||||
if (fontPtr.IsNull())
|
||||
if (fontPtr.IsNull)
|
||||
{
|
||||
// The font for the requested handle is unavailable. Release the reference and try again.
|
||||
substance.DataRoot.Release();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue