Avoid segfault.
commit1cbd02c141a117071900a58d4c30960237d3f37f
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 14 Aug 2007 18:43:22 +0000 (14 20:43 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 25 Nov 2007 20:28:16 +0000 (25 22:28 +0200)
tree10825eb178642c152c66591448f34b42687cc6fb
parenta594b2a0020bb31be99bf1b9632a42ef909c5450
Avoid segfault.

Go to the page with a few lines. Follow a link to a page with more lines.
Move cursor down, do not stay on a link.
Go back and do move-link-prev-line. This caused a segmentation fault.
(cherry picked from commit 888ba8751674471768d846ff3443aa7bb71ecf82)
src/viewer/text/view.c