mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:25:52 +00:00
[SYSDM]
- Fix wrong sizeof expression in DeleteHardwareProfile. CID 1322188 svn path=/trunk/; revision=73676
This commit is contained in:
parent
b1de4fb737
commit
b001a719b7
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ DeleteHardwareProfile(
|
||||||
{
|
{
|
||||||
RtlMoveMemory(&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex],
|
RtlMoveMemory(&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex],
|
||||||
&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex + 1],
|
&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex + 1],
|
||||||
(pProfileData->dwProfileCount - pProfileData->dwSelectedProfileIndex - 1) * sizeof(PPROFILE));
|
(pProfileData->dwProfileCount - pProfileData->dwSelectedProfileIndex - 1) * sizeof(PROFILE));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue