mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
Merge 67da9e6b45 into 689e80c087
This commit is contained in:
commit
e2b265b899
1 changed files with 7 additions and 0 deletions
|
|
@ -721,6 +721,13 @@ int expand_escape(const char **data)
|
|||
}
|
||||
}
|
||||
return strtol(digit, NULL, 8);
|
||||
|
||||
case '\\':
|
||||
/* escaped sequence, if the next character isn't part of a valid
|
||||
* sequence then we don't skip the leading slash. */
|
||||
if (strchr("trnexc01234567", (*data)[1]) != NULL)
|
||||
*data += 1;
|
||||
return -1;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue