mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 21:25:05 +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
|
@ -327,7 +327,7 @@ DeleteHardwareProfile(
|
|||
{
|
||||
RtlMoveMemory(&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex],
|
||||
&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex + 1],
|
||||
(pProfileData->dwProfileCount - pProfileData->dwSelectedProfileIndex - 1) * sizeof(PPROFILE));
|
||||
(pProfileData->dwProfileCount - pProfileData->dwSelectedProfileIndex - 1) * sizeof(PROFILE));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue