Nikolay Sivov (@nsivov) commented about dlls/comctl32/commctrl.c:
+ wcscat(versioned_class, classes[i].name); + UnregisterClassW(versioned_class, NULL); +#else + UnregisterClassW(classes[i].name, NULL); +#endif + } +}
- while (min <= max) +BOOL WINAPI RegisterClassNameW(const WCHAR *class_name) +{ + for (unsigned int i = 0; i < ARRAY_SIZE(classes); i++) { - int res, pos = (min + max) / 2; - if (!(res = wcsicmp(class, classes[pos].nameW))) + if (!wcsicmp(class_name, classes[i].name)) I have a couple of concerns still. Why was binary search removed, and could we defer flatsb change until after wine 11.0? It doesn't seem related.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9822#note_126260