# HG changeset patch # User Kim F. Storm # Date 1109719312 0 # Node ID e040c58e568a95ca075c715e263b4b031dff8595 # Parent 89ca59d2bd3842b1f38c094f479eaaa74ed1b85b (redisplay_window): YABX (yet another bogus xassert). Reported by David Kastrup. diff -r 89ca59d2bd38 -r e040c58e568a src/xdisp.c --- a/src/xdisp.c Tue Mar 01 23:20:49 2005 +0000 +++ b/src/xdisp.c Tue Mar 01 23:21:52 2005 +0000 @@ -12286,7 +12286,11 @@ { init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); move_it_vertically_backward (&it, 0); +#if 0 + /* I think this assert is bogus if buffer contains + invisible text or images. KFS. */ xassert (IT_CHARPOS (it) <= PT); +#endif it.current_y = 0; }