still more cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4004 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2006-12-15 05:03:08 +00:00
parent 2aca11e800
commit 0c426782c4
1 changed files with 3 additions and 3 deletions

View File

@ -1892,9 +1892,9 @@ int do_writeout(bool exiting)
name_exists = (stat(answer, &st) != -1);
full_answer = get_full_path(answer);
full_filename = get_full_path(openfile->filename);
different_name = (strcmp((full_answer != NULL) ?
full_answer : answer, (full_filename != NULL) ?
full_filename : openfile->filename) != 0);
different_name = (strcmp((full_answer == NULL) ?
answer : full_answer, (full_filename == NULL) ?
openfile->filename : full_filename) != 0);
/* Convert nulls to newlines. answer_len is the
* string's real length. */