mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 13:18:51 +00:00
- dmDriverExtra is zeroed before the call to ChangeDisplaySettingsEx.
svn path=/trunk/; revision=41227
This commit is contained in:
parent
6f6a9fe1c5
commit
a149107372
|
@ -493,10 +493,9 @@ ChangeDisplaySettingsA(
|
||||||
LPDEVMODEA lpDevMode,
|
LPDEVMODEA lpDevMode,
|
||||||
DWORD dwflags)
|
DWORD dwflags)
|
||||||
{
|
{
|
||||||
LONG Status = ChangeDisplaySettingsExA ( NULL, lpDevMode, NULL, dwflags, 0 );
|
|
||||||
if(lpDevMode)
|
if(lpDevMode)
|
||||||
lpDevMode->dmDriverExtra = 0;
|
lpDevMode->dmDriverExtra = 0;
|
||||||
return Status;
|
return ChangeDisplaySettingsExA ( NULL, lpDevMode, NULL, dwflags, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -536,8 +535,7 @@ ChangeDisplaySettingsW(
|
||||||
LPDEVMODEW lpDevMode,
|
LPDEVMODEW lpDevMode,
|
||||||
DWORD dwflags)
|
DWORD dwflags)
|
||||||
{
|
{
|
||||||
LONG Status = ChangeDisplaySettingsExW ( NULL, lpDevMode, NULL, dwflags, 0 );
|
|
||||||
if(lpDevMode)
|
if(lpDevMode)
|
||||||
lpDevMode->dmDriverExtra = 0;
|
lpDevMode->dmDriverExtra = 0;
|
||||||
return Status;
|
return ChangeDisplaySettingsExW ( NULL, lpDevMode, NULL, dwflags, 0 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue