mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: add null check just in case
This commit is contained in:
parent
94d642d1b5
commit
90ed4510aa
1 changed files with 5 additions and 0 deletions
|
|
@ -107,6 +107,11 @@ namespace Dalamud.Game.Internal.Gui
|
|||
|
||||
private IntPtr HandleToastDetour(IntPtr manager, IntPtr text, int layer, byte bool1, byte bool2, int logMessageId)
|
||||
{
|
||||
if (text == IntPtr.Zero)
|
||||
{
|
||||
return IntPtr.Zero;
|
||||
}
|
||||
|
||||
// get the message as an sestring
|
||||
var bytes = new List<byte>();
|
||||
unsafe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue