]> mj.ucw.cz Git - misc.git/commitdiff
songsack: update for new libucw
authorMartin Mares <mj@ucw.cz>
Fri, 3 Apr 2015 19:15:08 +0000 (21:15 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 3 Apr 2015 19:15:08 +0000 (21:15 +0200)
ucw/songsack.c

index 42e55a7ad06074f3023645d32cb34efde1e93139..4dd120af4f0e12a18d1ef79189a8883d2ed4a733 100644 (file)
@@ -47,7 +47,7 @@ int main(int argc, char **argv)
        continue;
 
       DBG("<< %d <%s>", d, c);
-      struct song *g = GARY_PUSH(songs, 1);
+      struct song *g = GARY_PUSH(songs);
       g->name = mp_strdup(mp, c);
       g->duration = d;
     }