Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/Mutagen-Modding/Mutagen into…
Browse files Browse the repository at this point in the history
… dev
  • Loading branch information
Noggog committed Dec 27, 2023
2 parents a09747d + 77e6889 commit 5f3cb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mutagen.Bethesda.Core/Strings/StringsWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private void WriteStrings(List<ValueTuple<Language, string, uint>[]> strs, Strin
break;
case StringsSource.IL:
case StringsSource.DL:
writer.Write(item.String.Length + 1);
writer.Write(encoding.GetByteCount(item.String) + 1);
writer.Write(item.String, StringBinaryType.NullTerminate, encoding);
break;
default:
Expand Down

0 comments on commit 5f3cb3f

Please sign in to comment.