diff options
| author | Toby Goodwin <toby@paccrat.org> | 2018-03-26 18:20:39 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2018-03-26 18:20:39 +0100 |
| commit | 969af168ea450bf79f800da620efefa91ed1f174 (patch) | |
| tree | 7529bca2579f102d23d4e3a000b6ec54312cf2d4 /edit-editline.c | |
| parent | 9475ab261beabd848267f925940c15f9fd6eb96e (diff) | |
whitespace cleanups
Diffstat (limited to 'edit-editline.c')
| -rw-r--r-- | edit-editline.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |