changeset: 4526:38493c0fb95276095275de9f45dda634a7cb8ca6
tag: tip
user: Stephen J. Turnbull <stephen(a)xemacs.org>
date: Sun Nov 02 00:12:13 2008 +0900
files: src/text.c
description:
Fix accidental deletion in src/text.c.
diff -r d64f1060cd6503ad009f196304b241f940a0fe23 -r
38493c0fb95276095275de9f45dda634a7cb8ca6 src/text.c
--- a/src/text.c Sat Nov 01 23:32:53 2008 +0900
+++ b/src/text.c Sun Nov 02 00:12:13 2008 +0900
@@ -3018,7 +3018,7 @@ bytebpos_to_charbpos_func (struct buffer
int record = x - best_below_byte > 5000;
#ifdef OLD_LOOP /* old code */
- (best_below_byte < x)
+ while (best_below_byte < x)
{
best_below++;
INC_BYTEBPOS (buf, best_below_byte);
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches