Re: [AD] 2 glitches in the GUI code

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2002-03-13, Eric Botcazou <ebotcazou@xxxxxxxxxx> wrote:
> > Yes, Peter told me in IRC to properly format my patches.. I even went
> > through all the modified lines in the .diff file, and fixed the
> > formatting, which included putting spaces around operators. Oh well,
> > I guess I again have to reread the formatting rules :)

[now I sound like a jerk ;-)]

> 
> Ouch! I don't know if the rule at stake is really written somewhere, but it
> seems to be enforced in src/gui.c ...

It varies between files and functions.  Sometimes spacing around
operators looks better, sometimes not.

For formatting in general, I try to make code look as if it was
written by the original author.  Easy rule to remember :-)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/