# HG changeset patch # User Chong Yidong # Date 1221683656 0 # Node ID 3b2bee2b95a4f2ff4070cfd7c9f12e8393cbaa95 # Parent bc06a22accf3c14acad90180d0a12dcabfd36759 Minor fix to last change. diff -r bc06a22accf3 -r 3b2bee2b95a4 src/indent.c --- a/src/indent.c Wed Sep 17 20:29:04 2008 +0000 +++ b/src/indent.c Wed Sep 17 20:34:16 2008 +0000 @@ -2133,7 +2133,7 @@ which might span multiple screen lines (e.g., if it's on a multi-line display string). We want to start from the last line that it occupies. */ - if (PT < ZV) + if (it_start < ZV) { while (IT_CHARPOS (it) <= it_start) {