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==" } } }