From 47151e4647b8decd77bb65c4fbe0dadb16ae79a8 Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Tue, 20 Mar 2018 21:58:03 +0000 Subject: whitespace cleanup --- 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