https://git.reactos.org/?p=reactos.git;a=commitdiff;h=81dc30a434b251420fd9b972d165caed8dcb6c88
commit 81dc30a434b251420fd9b972d165caed8dcb6c88 Author: Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org> AuthorDate: Mon May 2 02:48:46 2022 +0200 Commit: Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org> CommitDate: Sun Dec 24 21:54:23 2023 +0100 [NTOS:INBV] Improve comment & define name. --- ntoskrnl/ex/init.c | 4 ++-- ntoskrnl/inbv/inbv.c | 2 +- ntoskrnl/include/resource.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ntoskrnl/ex/init.c b/ntoskrnl/ex/init.c index 734960a206a..0bbda8a62cd 100644 --- a/ntoskrnl/ex/init.c +++ b/ntoskrnl/ex/init.c @@ -1389,9 +1389,9 @@ Phase1InitializationDiscard(IN PVOID Context) /* Get the SOS setting */ SosEnabled = (CommandLine && strstr(CommandLine, "SOS") != NULL); - /* Setup the boot driver */ + /* Setup the boot video driver */ InbvEnableBootDriver(!NoGuiBoot); - InbvDriverInitialize(LoaderBlock, IDB_MAX_RESOURCE); + InbvDriverInitialize(LoaderBlock, IDB_MAX_RESOURCES); /* Check if GUI boot is enabled */ if (!NoGuiBoot) diff --git a/ntoskrnl/inbv/inbv.c b/ntoskrnl/inbv/inbv.c index 69f40d5444c..9c51098284f 100644 --- a/ntoskrnl/inbv/inbv.c +++ b/ntoskrnl/inbv/inbv.c @@ -48,7 +48,7 @@ static INBV_PROGRESS_STATE InbvProgressState; static BT_PROGRESS_INDICATOR InbvProgressIndicator = {0, 25, 0}; static ULONG ResourceCount = 0; -static PUCHAR ResourceList[1 + IDB_MAX_RESOURCE]; // First entry == NULL, followed by 'ResourceCount' entries. +static PUCHAR ResourceList[1 + IDB_MAX_RESOURCES]; // First entry == NULL, followed by 'ResourceCount' entries. /* diff --git a/ntoskrnl/include/resource.h b/ntoskrnl/include/resource.h index e2537b465f5..55c900bbcb1 100644 --- a/ntoskrnl/include/resource.h +++ b/ntoskrnl/include/resource.h @@ -43,4 +43,4 @@ #define IDB_PROGRESS_BAR 20 #define IDB_COPYRIGHT 21 -#define IDB_MAX_RESOURCE IDB_COPYRIGHT +#define IDB_MAX_RESOURCES IDB_COPYRIGHT