On 8/26/2013 19:04, Alexandre Julliard wrote: > Nikolay Sivov <nsivov at codeweavers.com> writes: > >> + while (min <= max) >> + { >> + int n, c; >> + >> + n = (min+max)/2; >> + >> + c = strncmpW(olemisc_values[n].name, str, len); > strncmp isn't enough. > Right, thanks.