Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12644) gtk: city report sorting
Home

[Freeciv-Dev] (PR#12644) gtk: city report sorting

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12644) gtk: city report sorting
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Mar 2005 10:53:09 -0800
Reply-to: bugs@xxxxxxxxxxx

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

> cityrepfield_compare wouldn't produce this order, so I'm very
> confused.

Oh, gtk2 doesn't use cityrepfield_compare; it sorts gold by 3-digit 
numbers with whitespace padding.  So 0-6 are "  d", -1 to -6 are 
"  -d", 10-34 are " dd", and -20 is "-dd".

Patch attached.

Attachment: gtk2-use-cityrep-sort.diff
Description: Binary data


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