summaryrefslogtreecommitdiff
path: root/src/mimehooks.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-12-02 11:57:43 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-12-02 11:57:43 +0200
commit9c384de6e9aa02a628b54b9930c22730f0a22dad (patch)
treedd20fe0f2604965a49733cdefd198d534d02cf05 /src/mimehooks.c
parent2204dfd1e0df8b02092004542e7c120f9f6a981e (diff)
MimeHooks: Parsing more than one hook
Diffstat (limited to 'src/mimehooks.c')
-rw-r--r--src/mimehooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mimehooks.c b/src/mimehooks.c
index f60ea593..8bb838ef 100644
--- a/src/mimehooks.c
+++ b/src/mimehooks.c
@@ -125,6 +125,7 @@ void load_MimeHooks(iMimeHooks *d, const char *saveDir) {
125 setMimePattern_FilterHook(hook, collect_String(newRange_String(lines[1]))); 125 setMimePattern_FilterHook(hook, collect_String(newRange_String(lines[1])));
126 setCommand_FilterHook(hook, collect_String(newRange_String(lines[2]))); 126 setCommand_FilterHook(hook, collect_String(newRange_String(lines[2])));
127 pushBack_PtrArray(&d->filters, hook); 127 pushBack_PtrArray(&d->filters, hook);
128 pos = 0;
128 } 129 }
129 } 130 }
130 delete_Block(src); 131 delete_Block(src);