# HG changeset patch # User james # Date 1095737295 0 # Node ID 21f73f4563a7be6b6fbe715833660c5d8c721916 # Parent 7fa4bc78a35db1e5ed4248afb887aa609e82ff33 [xemacs-hg @ 2004-09-21 03:28:15 by james] I managed to mess up one of Darryl's lines. This fixes it. diff -r 7fa4bc78a35d -r 21f73f4563a7 src/window.c --- a/src/window.c Tue Sep 21 03:00:27 2004 +0000 +++ b/src/window.c Tue Sep 21 03:28:15 2004 +0000 @@ -5256,7 +5256,7 @@ for (i = 0; i < Dynarr_length (db->runes); i++) { *rb = Dynarr_atp (db->runes, i); - if (point <= *rb->charpos) + if (point <= (*rb)->charpos) goto found_charpos; } return 0;