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:
dc14da3
)
fix bug in euc2sjis().
author
arai
<arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 29 Jan 2001 14:44:24 +0000
(14:44 +0000)
committer
arai
<arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 29 Jan 2001 14:44:24 +0000
(14:44 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@10
6a8cc165
-1e22-0410-a132-
eb4e3f353aba
src/header.c
patch
|
blob
|
history
diff --git
a/src/header.c
b/src/header.c
index
e17d2ba
..
9f4d95c
100644
(file)
--- a/
src/header.c
+++ b/
src/header.c
@@
-965,7
+965,7
@@
euc2sjis(int *p1, int *p2)
int rowoff = c1 < 0x5f ? 0x70 : 0xb0;
int celoff = c1 % 2 ? (c2 > 0x5f ? 0x20 : 0x1f) : 0x7e;
*p1 = ((c1 + 1) >> 1) + rowoff;
- *p2 += celoff;
+ *p2 += celoff
- 0x80
;
}
void