On Thu, Feb 10, 2011 at 6:13 AM, Stefan Dösinger stefandoesinger@gmx.at wrote:
The brace goes in column 1 so that [[ and ]] work in vi. Putting the function name in column 1 lets you search for the definition using the anchored regexp ^function_name>
Code style in Wine doesn't have anything to do with editors. The basic rule is that when you change existing code or add code to an existing module you should use the style used by the existing code. If you add a new module you may pick any style you like as long as it is somewhat sane.
Just fyi, I do not mean to speak for Henri, but I believe he had some code preferences with regards to contributing new code to d3dx9 that are stylistically somewhat different than the existing code that was there (at least in mesh.c).
Thank you
Yours Misha