mirror of
https://github.com/blueskythlikesclouds/SonicAudioTools.git
synced 2024-11-23 22:50:58 +01:00
Fixed a bug related to encoding; Added useless debugging file-types to .gitignore.
This commit is contained in:
parent
8b2333eecf
commit
96c65d2d33
4
.gitignore
vendored
4
.gitignore
vendored
@ -241,4 +241,6 @@ ModelManifest.xml
|
||||
.paket/paket.exe
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
.fake/
|
||||
*.config
|
||||
[Rr]elease/*.xml
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -41,7 +41,7 @@ namespace SonicAudioLib.IO
|
||||
long position = length;
|
||||
items.Add(new StringItem() { Value = value, Position = position });
|
||||
|
||||
length += value.Length + 1;
|
||||
length += encoding.GetByteCount(value) + 1;
|
||||
return position;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user