From ee2ab29090201c2bf08dcb46e7f6ebd35d9bc23a Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 16 Sep 2023 17:05:11 +0200 Subject: mailcap: fix regression not that this code path is ever executed --- src/config/mailcap.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config/mailcap.nim b/src/config/mailcap.nim index 8c385485..4370f775 100644 --- a/src/config/mailcap.nim +++ b/src/config/mailcap.nim @@ -310,7 +310,7 @@ proc unquoteCommand*(ecmd, contentType, outpath: string, url: URL, var s = "" if i != -1 and kvs.len > i + attrname.len and kvs[i + attrname.len] == '=': - i = skipBlanks(kvs, attrname.len + 1) + i = skipBlanks(kvs, i + attrname.len + 1) var q = false for j in i ..< kvs.len: if not q and kvs[j] == '\\': -- cgit