aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-05-15 18:25:41 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-05-15 18:25:41 +0200
commit9a640d5f1289803bbfd8dc994712022b032239e0 (patch)
tree659035c094a4c5b6dfe83c963a8a367230237e19
parentaf06b61905cd33eb3318cc83cc73d7119dc3ce60 (diff)
downloadsdep-9a640d5f1289803bbfd8dc994712022b032239e0.tar.gz
sdep-9a640d5f1289803bbfd8dc994712022b032239e0.zip
Fixed new bug
Diffstat (limited to '')
-rw-r--r--sdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdep.c b/sdep.c
index fe67b95..629387b 100644
--- a/sdep.c
+++ b/sdep.c
@@ -156,6 +156,8 @@ format_line(Event ev, Options op, char *out)
156 l = strlen(out); 156 l = strlen(out);
157 157
158 str_copy(out+l, op.separator, MAXLEN - l); 158 str_copy(out+l, op.separator, MAXLEN - l);
159 l = strlen(out);
160
159 str_copy(out+l, ev.text, MAXLEN - l); 161 str_copy(out+l, ev.text, MAXLEN - l);
160 162
161 return out; 163 return out;

Generated with cgit - Back to sebastiano.tronto.net