Temporary fix for linkshell names not appearing

This commit is contained in:
Infi
2024-06-11 22:21:21 +02:00
parent 41e5a80179
commit 625d7596d3
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<Version>1.26.1</Version> <Version>1.26.2</Version>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
+1
View File
@@ -30,3 +30,4 @@ changelog: |-
- Fix flags not working in reply mode - Fix flags not working in reply mode
- Force the main chat log to be always open - Force the main chat log to be always open
- Prevent emotes inside auto translation - Prevent emotes inside auto translation
- Make Linkshells appear in selection again
+2 -1
View File
@@ -129,7 +129,8 @@ internal sealed unsafe class Chat : IDisposable
if (lsInfo == null) if (lsInfo == null)
return null; return null;
var utf = instance->GetLinkshellName(lsInfo); // TODO APIX: lsInfo type changed to Entry
var utf = instance->GetLinkshellName(*(ulong**)lsInfo);
return utf == null ? null : MemoryHelper.ReadStringNullTerminated((nint) utf); return utf == null ? null : MemoryHelper.ReadStringNullTerminated((nint) utf);
} }