mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[FORMATTING]
4 spaces indentation, no code change svn path=/trunk/; revision=42535
This commit is contained in:
parent
4edf4a5d67
commit
ee9e10c750
|
@ -130,17 +130,15 @@ NtUserChangeDisplaySettings(
|
|||
|
||||
/* Check arguments */
|
||||
#ifdef CDS_VIDEOPARAMETERS
|
||||
|
||||
if (dwflags != CDS_VIDEOPARAMETERS && lParam != NULL)
|
||||
#else
|
||||
|
||||
if (lParam != NULL)
|
||||
#endif
|
||||
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
||||
return DISP_CHANGE_BADPARAM;
|
||||
}
|
||||
|
||||
if (hwnd != NULL)
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
||||
|
@ -163,11 +161,13 @@ NtUserChangeDisplaySettings(
|
|||
Status = _SEH2_GetExceptionCode();
|
||||
}
|
||||
_SEH2_END
|
||||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastNtError(Status);
|
||||
return DISP_CHANGE_BADPARAM;
|
||||
}
|
||||
|
||||
if (DevMode.dmDriverExtra > 0)
|
||||
{
|
||||
DPRINT1("lpDevMode->dmDriverExtra is IGNORED!\n");
|
||||
|
|
Loading…
Reference in a new issue