mirror of
https://github.com/blueskythlikesclouds/SonicAudioTools.git
synced 2024-11-27 17:00:53 +01:00
Fixed a bug related to encoding; Added useless debugging file-types to .gitignore.
This commit is contained in:
parent
8b2333eecf
commit
96c65d2d33
2
.gitignore
vendored
2
.gitignore
vendored
@ -242,3 +242,5 @@ ModelManifest.xml
|
||||
|
||||
# FAKE - F# Make
|
||||
.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