changeset 17172:1798b476d58b

(thai-post-read-conversion): Return the correct length.
author Kenichi Handa <handa@m17n.org>
date Tue, 18 Mar 1997 23:14:07 +0000
parents 6f95d429f32d
children 84aa6682810b
files lisp/language/thai-util.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/thai-util.el	Tue Mar 18 23:14:07 1997 +0000
+++ b/lisp/language/thai-util.el	Tue Mar 18 23:14:07 1997 +0000
@@ -156,7 +156,7 @@
 	(narrow-to-region (point) (+ (point) len))
 	(thai-compose-region (point-min) (point-max))
 	(set-buffer-modified-p buffer-modified-p)
-	(point-max)))))
+	(- (point-max) (point-min))))))
 
 ;;;###autoload
 (defun thai-pre-write-conversion (from to)
@@ -174,4 +174,3 @@
 ;;; generated-autoload-file: "../loaddefs.el"
 ;;; End:
 ;;; thai-util.el ends here
-