Ticket #3140: mcedit: trailing newline check applied too early when exiting.
commitea2bf84b1a5fe871b26d001472e93e35330238b0
authorAndrew Borodin <aborodin@vmail.ru>
Sun, 16 Feb 2014 09:48:03 +0000 (16 13:48 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 28 Feb 2014 09:16:51 +0000 (28 13:16 +0400)
treedae3c32f1c74161a49af6cec55c86f8a56fcab6e
parente68bf2d473681ef14104dd513862fe60b28f6f28
Ticket #3140: mcedit: trailing newline check applied too early when exiting.

(edit_ok_to_exit): check newline after user wants to save file.
(edit_check_newline): fix message.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/editor/editcmd.c