Add ~ to quoted characters for %%%, reported by tb@.

pull/2051/head
nicm 2020-01-04 18:01:56 +00:00
parent a770a3bf7e
commit 1870cc70ef
1 changed files with 1 additions and 1 deletions

2
cmd.c
View File

@ -661,7 +661,7 @@ char *
cmd_template_replace(const char *template, const char *s, int idx)
{
char ch, *buf;
const char *ptr, *cp, quote[] = "\"\\$;";
const char *ptr, *cp, quote[] = "\"\\$;~";
int replaced, quoted;
size_t len;