[Freeciv-Dev] Re: Freeciv commit: per: Look for information in savegames
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, May 19, 2004 at 05:32:20PM -0400, Jason Dorje Short wrote:
> Raimar Falke wrote:
> >On Wed, May 19, 2004 at 01:20:50PM -0700, Raimar Falke wrote:
> >
> >
> >>- struct map_position *start_positions; /* allocated at runtime */
> >>+ struct start_position {
> >>+ int x, y;
> >>+ Nation_Type_id nation; /* May be NO_NATION_SELECTED. */
> >>+ } *start_positions; /* allocated at runtime */
> >>};
> >
> >The old comment was placed correctly. The new ones aren't.
>
> How so?
>
> AFAICT there are no rules for the placement of such comments.
No explicit one. But we have "indent" as a catch-all: "Use K&R
indentation style with indentation 2". And indent with the
given parameters place the comments as follow:
struct start_position {
int x, y;
Nation_Type_id nation; /* May be NO_NATION_SELECTED. */
} *start_positions; /* allocated at runtime */
struct start_position {
int x, y;
Nation_Type_id nation; /* May be NO_NATION_SELECTED. */
} *start_positions; /* allocated at runtime */
You see that the placement is independed of the indention of the line
start.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
reality.sys corrupt. Reboot Universe? (y,n,q)
|
|