summaryrefslogtreecommitdiff
path: root/edit-editline.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2018-03-20 21:58:03 +0000
committerToby Goodwin <toby@paccrat.org>2018-03-20 21:59:14 +0000
commit47151e4647b8decd77bb65c4fbe0dadb16ae79a8 (patch)
treed05a11d3dba0c1b6f0566cc1744b2a8de6bed45e /edit-editline.c
parent79fcb6da5a44da33459122881085297c35e781f1 (diff)
whitespace cleanup
Diffstat (limited to 'edit-editline.c')
-rw-r--r--edit-editline.c8
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;