OSDN Git Service

NKF.xs must follow nkf.c doesn't have WISH_TRUE AND NO_X0201.
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Wed, 21 Jan 2009 15:40:49 +0000 (00:40 +0900)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Wed, 21 Jan 2009 15:40:49 +0000 (00:40 +0900)
fixed by obache [sf.jp#14731]

NKF.mod/NKF.xs

index 626b634..1de2a7c 100644 (file)
@@ -134,9 +134,6 @@ nkf(...)
     data = SvPV(ST(argc),i_len);
     input_ctr = 0;
 
-    if(x0201_f == WISH_TRUE)
-         x0201_f = ((!iso2022jp_f)? TRUE : NO_X0201);
-
     /* allocate the result buffer */
 
     /* During conversion, stirngs length may grow. This is the unit */
@@ -178,9 +175,6 @@ nkf_continue(...)
     data = SvPV(ST(0),i_len);
     input_ctr = 0;
 
-    if(x0201_f == WISH_TRUE)
-         x0201_f = ((!iso2022jp_f)? TRUE : NO_X0201);
-
     /* allocate the result buffer */
 
     /* During conversion, stirngs length may grow. This is the unit */