Aug. 4, 2022
4:02 a.m.
On Thu Aug 4 07:47:43 2022 +0000, Zhiyi Zhang wrote:
I don't remember if it's from the D3D code. I think curly braces should be added when any of the branches contain more than one line. Yeah I don't think user32 / win32u uses that style. Unbraced or one-line if / else are very common and it saves precious vertical space.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/576#note_5644