commit 0ea9cf0946928745b0a9a7c0ada8fa4f1bfeccdf
parent 2ef6e8a4e4c1487f74aadfffcded95d67caae02d
Author: Louis Burda <quent.burda@gmail.com>
Date: Tue, 29 Sep 2020 12:23:33 +0200
Remove patch reject from tree
Diffstat:
1 file changed, 0 insertions(+), 22 deletions(-)
diff --git a/wmsl.c.rej b/wmsl.c.rej
@@ -1,22 +0,0 @@
---- wmsl.c
-+++ wmsl.c
-@@ -22,6 +22,7 @@ struct block {
- const char *command;
- unsigned int id, sleep_max;
- int flags;
-+ const char *prefix, *suffix;
- float sleep_left;
- char output[OUTPUTMAX];
- };
-@@ -135,7 +136,11 @@ update_blocks()
- if (output_len) {
- if (status_len > 0)
- concat_status(delim, ARRSIZE(delim) - 1);
-+ if (blocks[i].prefix)
-+ concat_status(blocks[i].prefix, strlen(blocks[i].prefix));
- concat_status(blocks[i].output, output_len);
-+ if (blocks[i].suffix)
-+ concat_status(blocks[i].suffix, strlen(blocks[i].suffix));
- }
- }
- if (!update) return;