OSDN Git Service

rename the macro HANKAKU_KATAKANA_P to the X0201_KANA_P
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 5 Oct 1999 16:50:43 +0000 (16:50 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 5 Oct 1999 16:50:43 +0000 (16:50 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@9 6a8cc165-1e22-0410-a132-eb4e3f353aba

src/header.c

index 7797739..e17d2ba 100644 (file)
@@ -81,14 +81,14 @@ msdos_to_unix_filename(name, len)
 {
        register int    i;
 
-#define HANKAKU_KATAKANA_P(c)\
+#define X0201_KANA_P(c)\
        (0xa0 < (unsigned char)(c) && (unsigned char)(c) < 0xe0)
 
 #ifdef MULTIBYTE_CHAR
 #ifdef SUPPORT_X0201
        for (i = 0; i < len; i++) {
                /* modified by Koji Arai */
-               if (HANKAKU_KATAKANA_P(name[i])) {
+               if (X0201_KANA_P(name[i])) {
                        int j;
                        for (j = len; j >= i; j--) {
                                name[j+1] = name[j]; /* no check over */
@@ -144,7 +144,7 @@ generic_to_unix_filename(name, len)
 #ifdef SUPPORT_X0201
        for (i = 0; i < len; i++) {
                /* modified by Koji Arai */
-               if (HANKAKU_KATAKANA_P(name[i])) {
+               if (X0201_KANA_P(name[i])) {
                        int j;
                        for (j = len; j >= i; j--) {
                                name[j+1] = name[j]; /* no check over */
@@ -209,7 +209,7 @@ macos_to_unix_filename(name, len)
 #ifdef SUPPORT_X0201
        for (i = 0; i < len; i ++) {
                /* modified by Koji Arai */
-               if (HANKAKU_KATAKANA_P(name[i])) {
+               if (X0201_KANA_P(name[i])) {
                        int j;
                        for (j = len; j >= i; j--) {
                                name[j+1] = name[j]; /* no check over */