Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Re: New Nations
Home

[Freeciv-Dev] Re: New Nations

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: New Nations
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Wed, 1 Mar 2000 14:44:55 +1100 (EST)

Tomasz Wegrzanowski wrote:

> On Mon, Feb 28, 2000 at 10:17:45AM +0000, Robert Brady wrote:

> > I might make a patch so that when people are choosing nations, it is
> > impossible for them to choose a nation with the same capital as the other
> > nation.

> Why to add unnecesary complications ?
> Data should be clean as-is.

No - its better to store the "general" data and filter on 
the fly as necessary.  If you store "cleaned" data, you
cannot recover the general data.

> > > > +  "Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch",
> > > 
> > > The above was a joke of course ?
> > 
> > That is a real Welsh town.
> 
> I'm sure it will segfault either client or player's brain.

Nah, we have (mostly) safe string handling now.  
But MAX_LEN_NAME is 32 (31+nul), so it should truncate.

Llanfairpwllgwyngyllgogerychwyr

-- David





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