From 789fd1a39803306b352c6d2265573445eae858e0 Mon Sep 17 00:00:00 2001 From: Jade Macho Date: Tue, 2 Jul 2024 10:20:35 +0200 Subject: [PATCH] Revert TerraFX update --- CustomResolution/CustomResolution.csproj | 4 ++-- CustomResolution/Plugin.cs | 2 +- CustomResolution/packages.lock.json | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CustomResolution/CustomResolution.csproj b/CustomResolution/CustomResolution.csproj index 51aa6a4..0fc069f 100644 --- a/CustomResolution/CustomResolution.csproj +++ b/CustomResolution/CustomResolution.csproj @@ -3,7 +3,7 @@ 0x0ade - 0.2.0.2 + 0.2.0.3 @@ -26,7 +26,7 @@ - + $(DalamudLibPath)FFXIVClientStructs.dll false diff --git a/CustomResolution/Plugin.cs b/CustomResolution/Plugin.cs index fc2b66c..a1ae3b8 100644 --- a/CustomResolution/Plugin.cs +++ b/CustomResolution/Plugin.cs @@ -249,7 +249,7 @@ public sealed unsafe class Plugin : IDalamudPlugin Service.PluginLog.Info($"STYLE: 0x{style:X8}"); Service.PluginLog.Info($"EXSTYLE: 0x{GetWindowLong(_currentHwnd, GWL.GWL_EXSTYLE):X8}"); - Span name = stackalloc char[512]; + Span name = stackalloc ushort[256]; GetClassName(_currentHwnd, name.GetPointer(0), name.Length); WNDCLASSEXW wce; GetClassInfoEx(GetModuleHandle(null), name.GetPointer(0), &wce); diff --git a/CustomResolution/packages.lock.json b/CustomResolution/packages.lock.json index 40f6a50..66b7cfd 100644 --- a/CustomResolution/packages.lock.json +++ b/CustomResolution/packages.lock.json @@ -10,9 +10,9 @@ }, "TerraFX.Interop.Windows": { "type": "Direct", - "requested": "[10.0.22621.6, )", - "resolved": "10.0.22621.6", - "contentHash": "IFjdtFFta+8awzDLCVSJMin+GBmkncFmVCUIPY4NWGPeQNoA99kFXXBgE3zNOXQ7yafnlAldUiarno0X/U0heA==" + "requested": "[10.0.22621.2, )", + "resolved": "10.0.22621.2", + "contentHash": "lORoYCoURS33Vi7PDvubRugLF2+l5v3rX2oVEqNhpBLjs3aZpqapRvTHPKVwsC+dGrsGuqJ/3yXuxVUb0vl3vg==" } } }