widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #02829
Re: [Merge] lp:~widelands-dev/widelands/tibor-ai5 into lp:widelands
I fixed about 30-50 missing curly brackets pairs. First I wanted to find a script that would do the job for me, but google showed nothing at all, so I did small one-liner with grep - to print lines with 'if' and 'else' that are probably missing curly brackets.
As for the empty instructions, I dont know if this is common, but for me it is more convenient - to understand what the code does.
I will commit the changes tonight.
--
https://code.launchpad.net/~widelands-dev/widelands/tibor-ai5/+merge/228762
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/tibor-ai5.
References