diff --git a/src/nano.h b/src/nano.h
index f811f33805ceb8ab51dd628609d0f439daa95d9d..7a9e0083cbf0d8ce9aff8c16d3b2271c521ee667 100644
--- a/src/nano.h
+++ b/src/nano.h
@@ -563,7 +563,7 @@ enum
 #define MAIN_VISIBLE (((COLS + 40) / 20) * 2)
 
 /* The minimum editor window columns and rows required for nano to work
- * correctly. */
+ * correctly.  Don't make these smaller than 4 and 1. */
 #define MIN_EDITOR_COLS 4
 #define MIN_EDITOR_ROWS 1
 
diff --git a/src/winio.c b/src/winio.c
index 669a3071e7606801efd2e93a0da61f6cffcd7b27..c07ebae6e61d46a88a20d863a7ea907ca7ab6ab3 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -1980,27 +1980,18 @@ void titlebar(const char *path)
 
     blank_titlebar();
 
-    /* space has to be at least 4: two spaces before the version message,
-     * at least one character of the version message, and one space
-     * after the version message. */
-    if (space < 4)
-	space = 0;
-    else {
-	/* Limit verlen to 1/3 the length of the screen in columns,
-	 * minus three columns for spaces. */
-	if (verlen > (COLS / 3) - 3)
-	    verlen = (COLS / 3) - 3;
-    }
-
-    if (space >= 4) {
-	/* Add a space after the version message, and account for both
-	 * it and the two spaces before it. */
-	mvwaddnstr(topwin, 0, 2, BRANDING, actual_x(BRANDING, verlen));
-	verlen += 3;
-
-	/* Account for the full length of the version message. */
-	space -= verlen;
-    }
+    /* Limit the length of the version message to a third of the width of
+     * the screen, minus three columns for spaces. */
+    if (verlen > (COLS / 3) - 3)
+	verlen = (COLS / 3) - 3;
+
+    /* Leave two spaces before the version message, and account also
+     * for the space after it. */
+     mvwaddnstr(topwin, 0, 2, BRANDING, actual_x(BRANDING, verlen));
+     verlen += 3;
+
+    /* Account for the full length of the version message. */
+    space -= verlen;
 
 #ifndef DISABLE_BROWSER
     /* Don't display the state if we're in the file browser. */