Commit 46104dcc authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

still more miscellaneous minor fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4001 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 26b3ead8
Showing with 3 additions and 3 deletions
+3 -3
......@@ -1897,9 +1897,9 @@ int do_writeout(bool exiting)
unsunder(answer, answer_len);
full_filename = get_full_path(openfile->filename);
different_name = (full_answer != NULL &&
full_filename != NULL && strcmp(full_answer,
full_filename) != 0);
different_name = (strcmp((full_answer != NULL) ?
full_answer : answer, (full_filename != NULL) ?
full_filename : openfile->filename) != 0);
if (full_filename != NULL)
free(full_filename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment