https://bugs.winehq.org/show_bug.cgi?id=55179
--- Comment #17 from Austin English austinenglish@gmail.com --- (In reply to Pascal Mons from comment #16)
I believe the erroneous code change must have been dated before January 24, 2023 as it was the relase date of version 8.0 and I noticed the change right after the automatic update on my system, within 24 hours.
Alex already narrowed it down, in https://bugs.winehq.org/show_bug.cgi?id=55179#c14, to 1d337249f16ed61163315019f5dbbe4db3386390, which was first introduced in wine-7.8.
If you don't think that's correct, you can run a regression test yourself: https://wiki.winehq.org/Regression_Testing