diff --git a/src/text.c b/src/text.c
index 558cda7dfbafb163e112e7a8e9f54275072daa77..49a18244c0eaca2ba6e84d0e5d9e64a1c6467565 100644
--- a/src/text.c
+++ b/src/text.c
@@ -413,7 +413,7 @@ void do_unindent(void)
 	size_t indent_len = length_of_white(f->data);
 
 	/* If the line consists of a small amount of whitespace, skip it. */
-	if (white_string(f->data) && indent_len < tabsize)
+	if (indent_len == 0)
 	    continue;
 
 	/* Remove the first tab's worth of whitespace from this line. */