mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fix parsing of octal escape sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0d55588d8a
commit
ced5193b8d
2 changed files with 6 additions and 1 deletions
|
@ -4614,7 +4614,7 @@ static inline id parseQuotedString(pldata* pld)
|
|||
{
|
||||
if (escaped == 1 && c >= '0' && c <= '7')
|
||||
{
|
||||
chars[k] = 0;
|
||||
chars[k] = c - '0';
|
||||
hex = NO;
|
||||
escaped++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue