From dcda98fb73de99c2112ad368feb60a01724b1bc1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 17 Mar 2018 15:52:27 +0100 Subject: [PATCH] tweaks: remove an inconsistent space from two pointer declarations Reported-by: Brand Huntsman --- src/browser.c | 2 +- src/text.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser.c b/src/browser.c index 68979615..2770355a 100644 --- a/src/browser.c +++ b/src/browser.c @@ -361,7 +361,7 @@ char *do_browse_from(const char *inpath) path = free_and_assign(path, strip_last_component(path)); if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) { - char * currentdir = charalloc(PATH_MAX + 1); + char *currentdir = charalloc(PATH_MAX + 1); free(path); path = getcwd(currentdir, PATH_MAX + 1); diff --git a/src/text.c b/src/text.c index 68b64ed3..2f01b7db 100644 --- a/src/text.c +++ b/src/text.c @@ -1506,7 +1506,7 @@ bool do_wrap(filestruct *line) /* The length of the remainder. */ size_t old_x = openfile->current_x; - filestruct * old_line = openfile->current; + filestruct *old_line = openfile->current; /* There are three steps. First, we decide where to wrap. Then, we * create the new wrap line. Finally, we clean up. */