Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#12334) wrong sorting of techs
Home

[Freeciv-Dev] Re: (PR#12334) wrong sorting of techs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#12334) wrong sorting of techs
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Sun, 24 Apr 2005 06:03:48 -0700
Reply-to: bugs@xxxxxxxxxxx

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

On Fri, Apr 22, 2005 at 05:55:59PM -0700, Vasco Alexandre da Silva Costa wrote:
> 
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12334 >
> 
> > [jdorje - Sat Apr 23 00:39:00 2005]:
> > 
> > This should be trivial to fix, but the problem only exists in 2.0. 
> > Vasco can you fix it?
> 
> How about this?

> Index: client/gui-gtk-2.0/repodlgs.c
> ===================================================================
> RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/repodlgs.c,v
> retrieving revision 1.85
> diff -u -r1.85 repodlgs.c
> --- client/gui-gtk-2.0/repodlgs.c     15 Apr 2005 22:53:30 -0000      1.85
> +++ client/gui-gtk-2.0/repodlgs.c     23 Apr 2005 00:54:56 -0000
> @@ -408,7 +408,7 @@
>      b_str=text_b;
>    }
>  
> -  return strcmp(a_str,b_str);
> +  return g_utf8_collate(a_str,b_str);
>  }
>  
>  /****************************************************************

No. The bug is in players dialog intelligence.

Christian


-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#12334) wrong sorting of techs, Christian Knoke <=