Alexandre Julliard pushed to branch master at wine / wine
Commits: d7cf013d by Zhiyi Zhang at 2024-11-20T21:43:24+01:00 win32u: Print the correct index when source_enum_display_settings() fails.
When source_enum_display_settings() fails to find a display mode because the index is out of range, the index number in the log is always 0 because the same variable is decreased in the for loop to find the display mode, giving the impression that it fails to find the first display mode.
- - - - -
1 changed file:
- dlls/win32u/sysparams.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/d7cf013d29f124602c3484ff5f365f4...