[PATCH 3/5] winemenubuilder: Replace huge if blocks with break/continue/return/goto
Alexandre Julliard
julliard at winehq.org
Mon Oct 11 13:18:23 CDT 2021
Alex Henrie <alexhenrie24 at gmail.com> writes:
> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
> I recommend using `git show -w` to visualize this patch.
> ---
> programs/winemenubuilder/winemenubuilder.c | 538 +++++++++++----------
> 1 file changed, 270 insertions(+), 268 deletions(-)
Even if the existing code is not great, it's not a good idea to do such
large scale reformatting.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list