mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
setupx: Use the correct field index for string substitutions.
This commit is contained in:
parent
f222a1654e
commit
50bc161eb2
@ -115,7 +115,7 @@ static const char *get_string_subst( HINF hinf, const char *str, unsigned int *l
|
||||
buffer[*len] = 0;
|
||||
|
||||
if (SetupFindFirstLineA( hinf, "Strings", buffer, &context ) &&
|
||||
SetupGetStringFieldA( &context, 0, subst, MAX_INF_STRING_LENGTH, NULL ))
|
||||
SetupGetStringFieldA( &context, 1, subst, MAX_INF_STRING_LENGTH, NULL ))
|
||||
{
|
||||
*len = strlen( subst );
|
||||
return subst;
|
||||
|
Loading…
x
Reference in New Issue
Block a user