OSDN Git Service
(root)
/
lha
/
lha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c4577
)
added condition whether the macro MULTIBYTE_CHAR is defined or not.
author
arai
<arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 29 Jan 2001 20:27:53 +0000
(20:27 +0000)
committer
arai
<arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 29 Jan 2001 20:27:53 +0000
(20:27 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@30
6a8cc165
-1e22-0410-a132-
eb4e3f353aba
src/header.c
patch
|
blob
|
history
diff --git
a/src/header.c
b/src/header.c
index
4ea441e
..
c4d1ec2
100644
(file)
--- a/
src/header.c
+++ b/
src/header.c
@@
-200,6
+200,7
@@
filename_conv(name, len, size,
register int i;
for (i = 0; i < len; i ++) {
+#ifdef MULTIBYTE_CHAR
if (from_code == CODE_EUC &&
(unsigned char)name[i] == 0x8e) {
if (to_code != CODE_SJIS) {
@@
-257,7
+258,7
@@
filename_conv(name, len, size,
i++;
continue;
}
-
+#endif /* MULTIBYTE_CHAR */
{
char *ptr;