Skip to content

Commit

Permalink
Small tweak to LfsEncoding class.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmcbride committed Oct 13, 2014
1 parent 043bfc8 commit 74b0a3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions InSimDotNet/LfsEncoding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ private static bool TryGetByteCount(Encoding encoding, char value, out int count
return TryGetByteCountMono(encoding, value, out count);
}

return TryGetByteCountWindows(encoding, value, out count);
return TryGetByteCountDotNet(encoding, value, out count);
}

private static bool TryGetByteCountWindows(Encoding encoding, char value, out int count) {
private static bool TryGetByteCountDotNet(Encoding encoding, char value, out int count) {
bool usedDefault = false;
count = NativeMethods.WideCharToMultiByte(
(uint)encoding.CodePage,
Expand Down Expand Up @@ -268,10 +268,10 @@ private static bool TryGetBytes(Encoding encoding, char value, byte[] bytes, out
return TryGetBytesMono(encoding, value, bytes, out count);
}

return TryGetBytesWindows(encoding, value, bytes, out count);
return TryGetBytesDotNet(encoding, value, bytes, out count);
}

private static bool TryGetBytesWindows(Encoding encoding, char value, byte[] bytes, out int count) {
private static bool TryGetBytesDotNet(Encoding encoding, char value, byte[] bytes, out int count) {
bool usedDefault = false;
count = NativeMethods.WideCharToMultiByte(
(uint)encoding.CodePage,
Expand Down

0 comments on commit 74b0a3c

Please sign in to comment.