Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2014-06-18 15:01:39 +0400
committerjfrijters <jfrijters>2014-06-18 15:01:39 +0400
commitbf6cf48fb6187aa28fa06ae20792dde89cfd9ec2 (patch)
treecd525281c3ebfa1f5414b7b1de415759620bbc2b
parentbb8d38071a92434a32fc06933d961d72ffda25ac (diff)
Fixed regression introduced in previous commit. \u0000 must use non-canonical form.
-rw-r--r--runtime/BigEndianBinaryReader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/BigEndianBinaryReader.cs b/runtime/BigEndianBinaryReader.cs
index d7ea8487..5d9b2868 100644
--- a/runtime/BigEndianBinaryReader.cs
+++ b/runtime/BigEndianBinaryReader.cs
@@ -178,7 +178,7 @@ sealed class BigEndianBinaryReader
goto default;
}
c = (((c & 0x1F) << 6) | (char2 & 0x3F));
- if(c < 0x80)
+ if(c < 0x80 && c != 0)
{
goto default;
}