diff src/coding.c @ 109710:62d9702eb261

Improve the encoding by compound-text-with-extensions.
author Kenichi Handa <handa@etlken>
date Fri, 06 Aug 2010 17:11:19 +0900
parents 8960853cf85d
children df8e0cd18128 4ad4f097835e
line wrap: on
line diff
--- a/src/coding.c	Fri Aug 06 12:54:13 2010 +0900
+++ b/src/coding.c	Fri Aug 06 17:11:19 2010 +0900
@@ -3935,7 +3935,7 @@
 		  int size;
 
 		  ONE_MORE_BYTE (dim);
-		  if (dim < 0 || dim > 4)
+		  if (dim < '0' || dim > '4')
 		    goto invalid_code;
 		  ONE_MORE_BYTE (M);
 		  if (M < 128)