--HG-- branch : pmacs2
@ -718,8 +718,8 @@ class WrapParagraph(WrapLine):
lines = [line.strip()]
y2 += 1
while y2 < len(w.buffer.lines):
line = w.buffer.lines[y2]
while y2 + 1 < len(w.buffer.lines):
line = w.buffer.lines[y2 + 1]
if self.empty_re.match(line):
break
lines.append(line.strip())