diff options
author | jfrijters <jfrijters> | 2014-06-18 15:01:39 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2014-06-18 15:01:39 +0400 |
commit | bf6cf48fb6187aa28fa06ae20792dde89cfd9ec2 (patch) | |
tree | cd525281c3ebfa1f5414b7b1de415759620bbc2b | |
parent | bb8d38071a92434a32fc06933d961d72ffda25ac (diff) |
Fixed regression introduced in previous commit. \u0000 must use non-canonical form.
-rw-r--r-- | runtime/BigEndianBinaryReader.cs | 2 |
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; } |