mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #842 from ailin-nemui/themeoob
Fix oob in escaped theme string
This commit is contained in:
commit
7c31f7adc5
1 changed files with 1 additions and 1 deletions
|
|
@ -485,7 +485,7 @@ static char *theme_format_expand_abstract(THEME_REC *theme, const char **formatp
|
|||
str = g_string_new(NULL);
|
||||
p = ret;
|
||||
while (*p != '\0') {
|
||||
if (*p == '\\') {
|
||||
if (*p == '\\' && p[1] != '\0') {
|
||||
int chr;
|
||||
p++;
|
||||
chr = expand_escape(&p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue