5 Mar
2019
5 Mar
'19
8:20 a.m.
Brendan McGrath <brendan(a)redmandi.com> wrote:
--- a/libs/wine/sortkey.c +++ b/libs/wine/sortkey.c @@ -80,7 +80,7 @@ int wine_get_sortkey(int flags, const WCHAR *src, int srclen, char *dst, int dst
if (!dstlen) /* compute length */ /* 4 * '\1' + 1 * '\0' + key length */ - return key_len[0] + key_len[1] + key_len[2] + key_len[3] + 4 + 1; + return key_len[0] + key_len[1] + key_len[2] + key_len[3] + 4;
Thanks for the patch. Probably the comment above should be adapted as well. -- Dmitry.