mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
- Fix regedit's import function. Now it works equally good in ReactOS and in a real Windows (previously was broken in both OSes).
See issue #997 for more details. svn path=/trunk/; revision=33333
This commit is contained in:
parent
ad58bfe28a
commit
dfcefd6140
1 changed files with 1 additions and 0 deletions
|
@ -441,6 +441,7 @@ LPSTR getRegKeyName(LPSTR lpLine)
|
||||||
|
|
||||||
keyNameBeg = strchr(lpLineCopy, '\\'); /* The key name start by '\' */
|
keyNameBeg = strchr(lpLineCopy, '\\'); /* The key name start by '\' */
|
||||||
if (keyNameBeg) {
|
if (keyNameBeg) {
|
||||||
|
keyNameBeg++;
|
||||||
if (lpLine[0] == '[') /* need to find matching ']' */
|
if (lpLine[0] == '[') /* need to find matching ']' */
|
||||||
{
|
{
|
||||||
LPSTR keyNameEnd;
|
LPSTR keyNameEnd;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue