From dfcefd614000f56c3d7ad395a95f85e2019089dd Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Tue, 6 May 2008 20:44:35 +0000 Subject: [PATCH] - 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 --- reactos/base/applications/regedit/regproc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/base/applications/regedit/regproc.c b/reactos/base/applications/regedit/regproc.c index 5be3bb34de9..33c52251ece 100644 --- a/reactos/base/applications/regedit/regproc.c +++ b/reactos/base/applications/regedit/regproc.c @@ -441,6 +441,7 @@ LPSTR getRegKeyName(LPSTR lpLine) keyNameBeg = strchr(lpLineCopy, '\\'); /* The key name start by '\' */ if (keyNameBeg) { + keyNameBeg++; if (lpLine[0] == '[') /* need to find matching ']' */ { LPSTR keyNameEnd;