mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix crash in flytext
This commit is contained in:
parent
3954f5f5aa
commit
25c94c9c6d
1 changed files with 2 additions and 2 deletions
|
|
@ -213,8 +213,8 @@ namespace Dalamud.Game.Gui.FlyText
|
|||
var tmpKind = kind;
|
||||
var tmpVal1 = val1;
|
||||
var tmpVal2 = val2;
|
||||
var tmpText1 = MemoryHelper.ReadSeStringNullTerminated(text1);
|
||||
var tmpText2 = MemoryHelper.ReadSeStringNullTerminated(text2);
|
||||
var tmpText1 = text1 == IntPtr.Zero ? string.Empty : MemoryHelper.ReadSeStringNullTerminated(text1);
|
||||
var tmpText2 = text2 == IntPtr.Zero ? string.Empty : MemoryHelper.ReadSeStringNullTerminated(text2);
|
||||
var tmpColor = color;
|
||||
var tmpIcon = icon;
|
||||
var tmpYOffset = yOffset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue