17 Feb
2023
17 Feb
'23
8:49 a.m.
Zhiyi Zhang (@zhiyi) commented about programs/winecfg/theme.c:
}
static void on_theme_changed(HWND dialog) { - int index = SendMessageW (GetDlgItem (dialog, IDC_THEME_THEMECOMBO), + int index; + + index = SendMessageW (GetDlgItem (dialog, IDC_THEME_THEMECOMBO), CB_GETCURSEL, 0, 0); here and line 488. These lines are not that long. You can use a single line. The line limit is usually 100 or 120 characters.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2183#note_24640