From 969af168ea450bf79f800da620efefa91ed1f174 Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Mon, 26 Mar 2018 18:20:39 +0100 Subject: whitespace cleanups --- edit-editline.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'edit-editline.c') diff --git a/edit-editline.c b/edit-editline.c index 2069aef..827a42e 100644 --- a/edit-editline.c +++ b/edit-editline.c @@ -17,11 +17,11 @@ void *edit_begin(int fd) { List *hist; struct cookie *c; - hist = varlookup("history"); - if (hist != NULL) - if (read_history(hist->w) != 0 && + hist = varlookup("history"); + if (hist != NULL) + if (read_history(hist->w) != 0 && errno != ENOENT) /* ignore if missing */ - uerror(hist->w); + uerror(hist->w); c = ealloc(sizeof *c); c->buffer = NULL; -- cgit v1.2.3