mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 17:14:32 +00:00
[FREELDR][INFLIB]: It is perfectly correct to retrieve the field of index == 0 of an INF line, by using the InfGetStringField() helper (corresponding to the SetupGetStringField() API).
svn path=/trunk/; revision=75472
This commit is contained in:
parent
54bb40541b
commit
d767b361d2
2 changed files with 2 additions and 2 deletions
|
@ -1459,7 +1459,7 @@ InfGetStringField (
|
|||
PCHAR Ptr;
|
||||
SIZE_T Size;
|
||||
|
||||
if ((Context == NULL) || (Context->Line == NULL) || (FieldIndex == 0))
|
||||
if ((Context == NULL) || (Context->Line == NULL))
|
||||
{
|
||||
// DPRINT("Invalid parameter\n");
|
||||
return FALSE;
|
||||
|
|
|
@ -548,7 +548,7 @@ InfpGetStringField(PINFCONTEXT Context,
|
|||
PWCHAR Ptr;
|
||||
ULONG Size;
|
||||
|
||||
if (Context == NULL || Context->Line == NULL || FieldIndex == 0)
|
||||
if (Context == NULL || Context->Line == NULL)
|
||||
{
|
||||
DPRINT("Invalid parameter\n");
|
||||
return INF_STATUS_INVALID_PARAMETER;
|
||||
|
|
Loading…
Reference in a new issue