mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 01:10:26 +00:00
escape char when setting string value changed to ^
svn path=/trunk/; revision=1823
This commit is contained in:
parent
05a5575ff1
commit
197fe0acf4
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: ShellCommandSetValue.cpp,v 1.5 2001/04/16 05:09:51 narnaoud Exp $
|
/* $Id: ShellCommandSetValue.cpp,v 1.6 2001/04/24 23:05:56 narnaoud Exp $
|
||||||
*
|
*
|
||||||
* regexpl - Console Registry Explorer
|
* regexpl - Console Registry Explorer
|
||||||
*
|
*
|
||||||
|
@ -336,7 +336,7 @@ CheckValueArgument:
|
||||||
TCHAR *pchDest = (TCHAR *)pDataBuffer;
|
TCHAR *pchDest = (TCHAR *)pDataBuffer;
|
||||||
while(*pchSrc)
|
while(*pchSrc)
|
||||||
{
|
{
|
||||||
if (pchSrc[0] == _T('\\'))
|
if (pchSrc[0] == _T('^'))
|
||||||
{
|
{
|
||||||
if (pchSrc[1] == _T('a'))
|
if (pchSrc[1] == _T('a'))
|
||||||
*pchDest = _T('\a');
|
*pchDest = _T('\a');
|
||||||
|
@ -423,7 +423,7 @@ const TCHAR * CShellCommandSetValue::GetHelpString()
|
||||||
_T(" dwbe /\n")
|
_T(" dwbe /\n")
|
||||||
_T(" sz \\\n")
|
_T(" sz \\\n")
|
||||||
_T(" esz - <VALUE> string is interpreted as string\n")
|
_T(" esz - <VALUE> string is interpreted as string\n")
|
||||||
_T(" <PATH> - Optional relative path of key which value will be processed.\n")
|
_T(" <PATH> - Optional relative path of key which value will be processed. ^ is the escape char\n")
|
||||||
_T(" <VALUE_NAME> - Name of key's value. Default is key's default value.\n")
|
_T(" <VALUE_NAME> - Name of key's value. Default is key's default value.\n")
|
||||||
_T(" /? - This help.\n");
|
_T(" /? - This help.\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue