Code

try to complete even if the line is empty
[ncmpc.git] / 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;