Code

try to complete even if the line is empty
authorKalle Wallin <kaw@linux.se>
Sat, 19 Jun 2004 19:32:52 +0000 (19:32 +0000)
committerKalle Wallin <kaw@linux.se>
Sat, 19 Jun 2004 19:32:52 +0000 (19:32 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1566 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/wreadln.c

index b5caef7dd6ef72a636ecadbb89640f2ba2147f9f..ea0824d31f281f29ccb4612fbb77e4e44d47b5a5 100644 (file)
@@ -180,7 +180,7 @@ wreadln(WINDOW *w,
          break;
 
        case TAB:
-         if( gcmp && strlen(line))
+         if( gcmp )
            {
              char *prefix = NULL;
              GList *list;