]> git.wh0rd.org Git - nano.git/commit
Preventing a floating-point exception when the available length
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 31 May 2015 08:45:17 +0000 (08:45 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Sun, 31 May 2015 08:45:17 +0000 (08:45 +0000)
commit40bfc729cafde4ea7a357e0372e9b2133af28687
treeca120d45c51dcc847681884b2dbda90da61a9924
parent01e39f4ff9fa0e8ea8cde6e9605e9ead9f45a2ae
Preventing a floating-point exception when the available length
for an answer becomes zero.  The answer will instead wrap to the
next line, which does not look nice but is better than crashing.
Patch by Mahyar Abbaspour.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5235 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
ChangeLog
src/prompt.c