]> git.wh0rd.org Git - nano.git/commit
As the charmove() already copies the terminating null byte,
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 22 Feb 2016 16:51:39 +0000 (16:51 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Mon, 22 Feb 2016 16:51:39 +0000 (16:51 +0000)
commit27e1e83e8cc023d3a68dc64e0452a9cd80fff78b
treea3e58c54fa0d9d96b91fad32aa4edd4f805faa34
parent0dec394303332fe12fb969b26370d0d362b9c034
As the charmove() already copies the terminating null byte,
there is no need to put one in.  Just trim the allocation.

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