OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef68a1
)
Correct sanity check for a truncated Kanji character at the end of the changed sequen...
author
Eric Branlund
<ebranlund@fastmail.com>
Tue, 19 Jan 2021 18:59:06 +0000
(10:59 -0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Tue, 19 Jan 2021 18:59:06 +0000
(10:59 -0800)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
40068e2
..
2e1c35c
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-821,7
+821,7
@@
static int isCharNoPartial(const struct TerminalCell *c)
while (i < icol + n) {
#ifdef JP
if (iskanji(*g)) {
- if (i == n - 1) {
+ if (i ==
icol +
n - 1) {
/*
* The second byte of the character is past the end. Ignore
* the character.