mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fix escaping
svn path=/trunk/; revision=17917
This commit is contained in:
parent
9cd240b08f
commit
891e470c6d
1 changed files with 2 additions and 1 deletions
|
@ -69,9 +69,10 @@ INT cmd_set (LPTSTR cmd, LPTSTR param)
|
|||
/* remove escapes */
|
||||
if ( param[0] ) for ( i = 0; param[i+1]; i++ )
|
||||
{
|
||||
if ( param[i] == '^' && strchr("<|>",param[i+1]) )
|
||||
if ( param[i] == '^' && strchr("<|>&^",param[i+1]) )
|
||||
{
|
||||
memmove ( ¶m[i], ¶m[i+1], _tcslen(¶m[i]) * sizeof(TCHAR) );
|
||||
++i;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue