mirror of
https://github.com/reactos/reactos.git
synced 2026-05-24 00:00:41 +08:00
no message
svn path=/trunk/; revision=1507
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/* $Id: ShellCommandDeleteKey.cpp,v 1.3 2001/01/10 01:25:29 narnaoud Exp $
|
||||
/* $Id: ShellCommandDeleteKey.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
* Copyright (C) 2000 Nedko Arnaoudov <nedkohome@atia.com>
|
||||
* Copyright (C) 2000,2001 Nedko Arnaoudov <nedkohome@atia.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -116,7 +116,10 @@ int CShellCommandDeleteKey::Execute(CConsole &rConsole, CArgumentParser& rArgume
|
||||
ASSERT(pch >= pchKey);
|
||||
|
||||
const TCHAR *pszPath;
|
||||
TCHAR *pszPattern = pch+1;
|
||||
TCHAR *pszPattern = pch;
|
||||
if (*pch == _T('\\'))
|
||||
pszPattern++;
|
||||
|
||||
if (pch == pchKey)
|
||||
{
|
||||
pszPath = _T(".");
|
||||
|
||||
Reference in New Issue
Block a user