diff --git a/src/browser.c b/src/browser.c
index 68979615270649b1b459eb544ec6e89ccf21fea1..2770355a5a07d27b7cf9180a6d69262067a48846 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 68b64ed37140d48071aee602b1875ca503087826..2f01b7db426dfca21da08a482f94f35fd847fd56 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. */