Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] [patch] const-int-ize SETTINGS_NUM
Home

[Freeciv-Dev] [patch] const-int-ize SETTINGS_NUM

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [patch] const-int-ize SETTINGS_NUM
From: Justin Moore <justin@xxxxxxxxxxx>
Date: Wed, 15 Aug 2001 12:56:36 -0400 (EDT)

Just a minor nitpicky patch ...

Rather than macro-ize SETTINGS_NUM in stdinhand.c and have it recalculate
the size every time you reference it, why not make it an int or const int
and save yourself some work?  Patch against 1.12.0 attached (altho it's
probably just as easy to fix it by hand :)).

-jdm

Department of Computer Science, Duke University, Durham, NC 27708-0129
Email:  justin@xxxxxxxxxxx

Attachment: settings_num-1.12.0.patch
Description: Text document


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