aboutsummaryrefslogtreecommitdiff
path: root/japanese/wnn7egg/files/patch-ac
blob: 509b0d6a3c1ea1444ee69452a664cfda4a58ef5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From Q_and_A.color-mate in color-mate (ports/editors/color-mate)

--- xemacs21/wnn7egg-cnv.el	2001/07/12 15:44:38	1.1
+++ xemacs21/wnn7egg-cnv.el	2001/07/12 16:05:42
@@ -996,7 +996,9 @@
 				    (wnn7-bunsetu-position bunsetu-begin)
 				    (+ (wnn7-bunsetu-position (1- bunsetu-end))
 				       (length (wnn7-server-bunsetu-kanji 
-						(1- bunsetu-end))))))
+						(if (>= 0 bunsetu-end)
+						    0
+						  (1- bunsetu-end)))))))
 	  (progn
 	    (if (overlayp egg:*dai-bunsetu-overlay*)
 		nil