diff --git a/src/winio.c b/src/winio.c
index 02ef346c58f56dee0664efcce2d30f3f836b092f..17ca14bf7864f92998686de4e89a1f59bb4b4eef 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2846,7 +2846,7 @@ void titlebar(const char *path)
     if (!newfie) {
 	size_t lenpt = strlenpt(path), start_col;
 
-	dots = (lenpt > space);
+	dots = (lenpt >= space);
 
 	if (dots) {
 	    start_col = lenpt - space + 3;