From 197fe0acf4517894178b21080b588c8bf41861a3 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Tue, 24 Apr 2001 23:05:56 +0000 Subject: [PATCH] escape char when setting string value changed to ^ svn path=/trunk/; revision=1823 --- rosapps/sysutils/regexpl/ShellCommandSetValue.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rosapps/sysutils/regexpl/ShellCommandSetValue.cpp b/rosapps/sysutils/regexpl/ShellCommandSetValue.cpp index 061acf1489c..69e25768618 100644 --- a/rosapps/sysutils/regexpl/ShellCommandSetValue.cpp +++ b/rosapps/sysutils/regexpl/ShellCommandSetValue.cpp @@ -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 * @@ -336,7 +336,7 @@ CheckValueArgument: TCHAR *pchDest = (TCHAR *)pDataBuffer; while(*pchSrc) { - if (pchSrc[0] == _T('\\')) + if (pchSrc[0] == _T('^')) { if (pchSrc[1] == _T('a')) *pchDest = _T('\a'); @@ -423,7 +423,7 @@ const TCHAR * CShellCommandSetValue::GetHelpString() _T(" dwbe /\n") _T(" sz \\\n") _T(" esz - string is interpreted as string\n") - _T(" - Optional relative path of key which value will be processed.\n") + _T(" - Optional relative path of key which value will be processed. ^ is the escape char\n") _T(" - Name of key's value. Default is key's default value.\n") _T(" /? - This help.\n"); }