Allow to map characters to code zero with .CHARMAP.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5921 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-11-06 20:36:45 +00:00
parent c8b3275246
commit aad6cd2a14
2 changed files with 5 additions and 5 deletions

View File

@@ -637,7 +637,7 @@ static void DoCharMap (void)
/* Read the character code */
Code = ConstExpression ();
if (Code <= 0 || Code > 255) {
if (Code < 0 || Code > 255) {
/* Value out of range */
ErrorSkip ("Range error");
return;