projects
/
rugen
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
reset line to avoid duplicating last item
[rugen]
/
src
/
dv1394app.c
diff --git
a/src/dv1394app.c
b/src/dv1394app.c
index
6de7d91
..
dcebf7c
100644
(file)
--- a/
src/dv1394app.c
+++ b/
src/dv1394app.c
@@
-176,6
+176,9
@@
static void playlist_open(dv1394app this, char* filename)
char* s;
char l[PATH_MAX];
+ /* reset line */
+ l[0] = 0;
+
/* load string */
fgets(l, sizeof(l), f);