Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: [PATCH] Unit movement
Home

[Freeciv-Dev] Re: [PATCH] Unit movement

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gaute B Strokkenes <gs234@xxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [PATCH] Unit movement
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Jan 2001 21:27:43 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

On Sat, Jan 13, 2001 at 08:02:42PM +0000, Gaute B Strokkenes wrote:
> On Sat, 13 Jan 2001, hawk@xxxxxxxxxxxxxxxxxxxxxxx wrote:
> 
> >> Oh, and please conform to freeciv coding style. ie indentation, and an if 
> >> looks like
> >> if (???) {
> >>   !!!
> >> }
> > 
> > Yes. I'm still searching for an automated way to do this since
> > indent won't work.
> 
> Could you be a bit more specific, please?

I can't use indent for the reasons stated below. And I don't know a
tool which will ident only a part of a file or a patch. The freeciv
style isn't the one which I use "native". So I have to reindent by
hand the places I changed/added.

> > --- freeciv_hackers_guide.txt
> > - Use K&R indentation style with indentation 2 (when in doubt, use
> >   "indent -kr -i2").  However, do not re-indent areas of code you are
> >   not modifying or creating.
> > --- freeciv_hackers_guide.txt

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "- Amiga Y2K fixes (a bit late, wouldn't you say?)"
    -- Linus Torvalds about linux 2.4.0 at 4 Jan 2001



[Prev in Thread] Current Thread [Next in Thread]