dwrite: Fix fallback config ranges text parsing.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2022-07-29 12:15:52 +03:00 committed by Alexandre Julliard
parent 16bcc3bc29
commit f6f2a1a3e5

View file

@ -2816,7 +2816,8 @@ static void system_fallback_parse_ranges(const char *str, DWRITE_UNICODE_RANGE *
str = end + 1;
ranges[count].last = strtoul(str, &end, 16);
}
if (*end == ',') str = end + 1;
str = end;
if (*str == ',') str++;
count++;
}