tweaks: remove a redundant, enclosed #ifdef
parent
493f215513
commit
7668bfe6f2
|
@ -493,13 +493,12 @@ void copy_from_buffer(linestruct *somebuffer)
|
|||
/* Unlink a node from the rest of the circular list, and delete it. */
|
||||
void unlink_opennode(openfilestruct *fileptr)
|
||||
{
|
||||
#ifdef ENABLE_MULTIBUFFER
|
||||
if (fileptr == firstfile)
|
||||
firstfile = firstfile->next;
|
||||
|
||||
fileptr->prev->next = fileptr->next;
|
||||
fileptr->next->prev = fileptr->prev;
|
||||
#endif
|
||||
|
||||
delete_opennode(fileptr);
|
||||
}
|
||||
|
||||
|
@ -516,7 +515,7 @@ void delete_opennode(openfilestruct *fileptr)
|
|||
#endif
|
||||
free(fileptr);
|
||||
}
|
||||
#endif
|
||||
#endif /* ENABLE_MULTIBUFFER */
|
||||
|
||||
/* Display a warning about a key disabled in view mode. */
|
||||
void print_view_warning(void)
|
||||
|
|
Loading…
Reference in New Issue