On Mon Mar 25 08:59:14 2024 +0000, Rémi Bernon wrote:
changed this line in [version 3 of the diff](/wine/wine/-/merge_requests/5306/diffs?diff_id=107025&start_sha=652d822c3475908fdce83ec0a9a573bc6b74498c#85770a8b187bd82db4dbb9a2b8a5f34616049d0f_6540_6619)
Right, I initially had a version that was counting the available adapters, but then I saw that there was tests showing that Windows always returns a fixed number.
Moved the loop below, and reordered the condition too to avoid a warning when we exactly reach the max number of adapters.