From c4029cd546cd9dea7ece26bda59563141451b608 Mon Sep 17 00:00:00 2001 From: Timerix22 Date: Thu, 23 Feb 2023 11:11:03 +0600 Subject: [PATCH] small dtsodv24 fix --- KerepWrapper/Dtsod/DtsodV24.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/KerepWrapper/Dtsod/DtsodV24.cs b/KerepWrapper/Dtsod/DtsodV24.cs index 50d3c38..267c2a3 100644 --- a/KerepWrapper/Dtsod/DtsodV24.cs +++ b/KerepWrapper/Dtsod/DtsodV24.cs @@ -2,6 +2,7 @@ using System; using System.Collections; using System.Collections.Generic; using DTLib.Dtsod; +using DTLib.Extensions; using KerepWrapper.KerepTypes; using KerepWrapper.Autoarr; using Funcs=KerepWrapper.Dtsod.DtsodV24Functions; @@ -32,9 +33,9 @@ public class DtsodV24 : IDtsod, IEnumerable, IDisposable public IDictionary ToDictionary() { - DtsodDict dict = new(); + Dictionary dict = new(); foreach (var p in this) - dict.Add(p.key,p.value.ToDynamic()); + dict.Add(p.key.HGlobalUTF8ToString(),p.value.ToDynamic()); return dict; }