mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[UMPNPMGR] Fix remaining length calculation
This commit is contained in:
parent
4712deb8a8
commit
5028c3adec
1 changed files with 2 additions and 2 deletions
|
@ -1153,7 +1153,7 @@ GetEnumeratorInstanceList(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
dwUsedLength += dwPathLength - 1;
|
dwUsedLength += dwPathLength - 1;
|
||||||
dwRemainingLength += dwPathLength - 1;
|
dwRemainingLength -= dwPathLength - 1;
|
||||||
pPtr += dwPathLength - 1;
|
pPtr += dwPathLength - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1203,7 +1203,7 @@ GetAllInstanceList(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
dwUsedLength += dwPathLength - 1;
|
dwUsedLength += dwPathLength - 1;
|
||||||
dwRemainingLength += dwPathLength - 1;
|
dwRemainingLength -= dwPathLength - 1;
|
||||||
pPtr += dwPathLength - 1;
|
pPtr += dwPathLength - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue