diff --git a/src/files.c b/src/files.c
index 9132040e2e391ddfe3026fdb2d6c4d74e8e56d19..8e7a3eec5225bcbe8ff5de43f5baa3155d0ceac5 100644
--- a/src/files.c
+++ b/src/files.c
@@ -3006,8 +3006,8 @@ void save_history(void)
 		}
 	    }
 	    if (fputs("\n", hist) == EOF) {
-		    rcfile_error(N_("Error writing %s: %s"), nanohist, strerror(errno));
-		    goto come_from;
+		rcfile_error(N_("Error writing %s: %s"), nanohist, strerror(errno));
+		goto come_from;
 	    }
 	    for (h = replace_history.tail; h->prev; h = h->prev) {
 		h->data = charealloc(h->data, strlen(h->data) + 2);