Skip to content

Commit

Permalink
[jsync] Fix parsing of hex escapes
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Nov 15, 2010
1 parent 30e2c2d commit c4c533a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JSYNC.cs
Expand Up @@ -292,7 +292,7 @@ public class JsyncReader {
else if (d >= 'a' && d <= 'f')
ch += (char)(d - 'a' + 10);
else if (d >= 'A' && d <= 'F')
ch += (char)(d - 'F' + 10);
ch += (char)(d - 'A' + 10);
else
Err("Invalid hex character");
}
Expand Down

0 comments on commit c4c533a

Please sign in to comment.