summaryrefslogtreecommitdiff
path: root/lineset.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-12 09:02:50 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-12 09:02:50 +0100
commit0522ef659553292f546fb1f3af43cfd2f4b07bb2 (patch)
treeaf5c439fa02a4afdd5f887e86180b39857d9c5f0 /lineset.c
parenta46183e96042cf751199f0a06d437a599f7f5bf8 (diff)
fix read of command scripts and script-mode
Diffstat (limited to 'lineset.c')
-rw-r--r--lineset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lineset.c b/lineset.c
index 7a244e5..4710c59 100644
--- a/lineset.c
+++ b/lineset.c
@@ -62,7 +62,7 @@ void ensure_num_lines(lineset_t *ls, int n){
void dump_lines(lineset_t ls, FILE *f){
int i;
for (i=0; i<ls.num ;i++){
- fprintf(f, "%d:%s\n", i, ls.l[i].s);
+ fprintf(f, "%s\n", ls.l[i].s);
}
fflush(f);
}