[SERVICES]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 30 Aug 2015 09:52:57 +0000 (09:52 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 30 Aug 2015 09:52:57 +0000 (09:52 +0000)
- Correctly copy group dependencies in ScmWriteDependencies (DPH)

svn path=/trunk/; revision=68871

reactos/base/system/services/config.c

index 0bdd98f..4a529c1 100644 (file)
@@ -129,6 +129,7 @@ ScmWriteDependencies(HKEY hServiceKey,
             if (*lpSrc == SC_GROUP_IDENTIFIERW)
             {
                 lpSrc++;
+                cchLength--;
                 cchGroupLength += cchLength;
                 wcscpy(lpDst, lpSrc);
                 lpDst = lpDst + cchLength;