diff --git a/src/browser.c b/src/browser.c
index 45f7a0343c0a6c08f4ebc0f749cc25dfdba84c30..64b1abc3d88059186dd73a9af1bdc1743eb6a655 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -616,7 +616,7 @@ void browser_refresh(void)
 		/* The maximum length of the file information in
 		 * columns: 7 for "--", "(dir)", or the file size, and
 		 * 12 for "(parent dir)". */
-	bool dots = (COLS >= 15 && filetaillen >= longest -
+	bool dots = (COLS >= 15 && filetaillen > longest -
 		foomaxlen - 1);
 		/* Do we put an ellipsis before the filename?  Don't set
 		 * this to TRUE if we have fewer than 15 columns (i.e, 1
diff --git a/src/winio.c b/src/winio.c
index 1000a4025d3dad970885c82bb4d39d6900614162..b79e10793dcba38a1a61c3193a4bcde8d7979a7a 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2053,7 +2053,7 @@ void titlebar(const char *path)
 
 	/* Don't set dots to TRUE if we have fewer than 8 columns (i.e,
 	 * 1 column for padding, plus 7 columns for a filename). */
-	dots = (space >= 7 && lenpt >= space);
+	dots = (space >= 8 && lenpt > space);
 
 	if (dots) {
 	    start_col = lenpt - space + 3;