]> git.wh0rd.org Git - nano.git/commit
Removing a pointless condition, and making use of an existing intermediary
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 23 Mar 2016 19:48:44 +0000 (19:48 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Wed, 23 Mar 2016 19:48:44 +0000 (19:48 +0000)
commit6fc70cc474ffc6035071d958077e60abd6fd8e2f
tree44cd4adabece2408e844b52de0f0610795943a71
parent3660c62bc0dbb415f9a8b9fef5183cb9d42e25b2
Removing a pointless condition, and making use of an existing intermediary
variable for a little optimization.

Openfile can never be NULL -- it should have been called openbuffer, and
before we start fiddling with the cursor, we will always have an open buffer.
Edittop might be NULL, but that's okay.

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