Rémi Bernon (@rbernon) commented about tools/widl/widltypes.h:
>
> struct location where;
>
> - unsigned int declonly : 1;
> + /* Should we define the UDT in this var, when writing a header? */
> + bool define;
This is the first and only use of `bool` in widl. Later, you're also introducing a new `unsigned int :1` field elsewhere.
I think something like `is_definition` is also more appropriate for an object property. Same below.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5724#note_71398
We'll want to keep both copies of `merge_devmode()` in sync, so please combine these two commits into one.
Also, the subject of the commit message seems to have word-wrapped - please keep it as a single line.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5720#note_71393
Nikolay Sivov (@nsivov) commented about dlls/riched20/editor.c:
> }
> case EM_SETPARAFORMAT:
> {
> - BOOL result = editor_set_selection_para_fmt( editor, (PARAFORMAT2 *)lParam );
> + BOOL result;
> + PARAFORMAT2 fmt = *(PARAFORMAT2 *)lParam;
> + fmt.cTabCount = max(0, min(fmt.cTabCount, 32)); /* Clamp between 0 and 32 */
> + result = editor_set_selection_para_fmt(editor, &fmt);
I think this is would be better if done in para_set_fmt(). Instead of 32 please use MAX_TAB_STOPS or ARRAY_SIZE().
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5727#note_71380