[KoCo-CVS] [Commit] cjkcodecs/src/maps alg_jisx0201.h
Brought to you by:
perky
From: Hye-Shik C. <pe...@us...> - 2003-06-05 10:18:12
|
perky 03/06/05 03:18:11 Modified: src/maps alg_jisx0201.h Log: Fix a dumb typo. Found by: holy unittests :) Revision Changes Path 1.3 +4 -4 cjkcodecs/src/maps/alg_jisx0201.h Index: alg_jisx0201.h =================================================================== RCS file: /cvsroot/koco/cjkcodecs/src/maps/alg_jisx0201.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- alg_jisx0201.h 2 Jun 2003 09:25:17 -0000 1.2 +++ alg_jisx0201.h 5 Jun 2003 10:18:10 -0000 1.3 @@ -1,4 +1,4 @@ -/* $Id: alg_jisx0201.h,v 1.2 2003/06/02 09:25:17 perky Exp $ */ +/* $Id: alg_jisx0201.h,v 1.3 2003/06/05 10:18:10 perky Exp $ */ #define JISX0201_R_ENCODE(c, assi) \ if ((c) < 0x5c) (assi) = (c); \ @@ -19,8 +19,8 @@ else if ((c) < 0x7e) (assi) = (c); \ else if ((c) == 0x7e) (assi) = 0x203e; #define JISX0201_K_DECODE(c, assi) \ - else if ((c) >= 0xa1 && (c) <= 0xdf) \ + if ((c) >= 0xa1 && (c) <= 0xdf) \ (assi) = 0xfec0 + (c); #define JISX0201_DECODE(c, assi) \ - JISX0201_R_ENCODE(c, assi) \ - else JISX0201_K_ENCODE(c, assi) + JISX0201_R_DECODE(c, assi) \ + else JISX0201_K_DECODE(c, assi) |