Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12651) patch: better sorting in the city report
Home

[Freeciv-Dev] (PR#12651) patch: better sorting in the city report

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12651) patch: better sorting in the city report
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Mar 2005 12:22:07 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12651 >

Sorting in the city report is annoying for the multi-part fields; this
patch fixes that.  Now, strings (like the city name) are sorted as strings,
numbers (like gold, pollution, etc) are sorted as numbers, and
%d/%d/%d (like Surplus F/P/T) is sorted lexicographically as three numbers
rather than alphabetically, and so on.

Attachment: cityreport-sort-correctly.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12651) patch: better sorting in the city report, Benoit Hudson <=