Commit 50bc161e authored by Alexandre Julliard's avatar Alexandre Julliard

setupx: Use the correct field index for string substitutions.

parent f222a165
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment