Commit 4b301914 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Return the correct length from config_list_get_value().

parent 9cb65cb0
......@@ -171,7 +171,7 @@ static const char *config_list_get_value(const char *string, const char *key, si
if (is_option_separator(prev_char) && *p == '=')
{
if ((end = strpbrk(p + 1, ",;")))
*len = end - p + 1;
*len = end - (p + 1);
else
*len = strlen(p + 1);
return p + 1;
......
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