Great patch. Committed.

LANG=de_DE@euro should work now.

Dom

On Mon, 2002-04-15 at 16:30, Blue Lizard wrote:
> I looked at two patches used by mandrake for 0.99.1+ today.  The first
> is somewhat deprecated (except apparently on mdk), the second made me a
> tad curious.
> 
> Regards.
> 
> --- abiword-0.99.1/abi/src/wp/ap/unix/ap_UnixPrefs.cpp.modifier Fri Sep
> 28 11:06:08 2001
> +++ abiword-0.99.1/abi/src/wp/ap/unix/ap_UnixPrefs.cpp  Fri Jan 18
> 17:36:33 2002
> @@ -102,6 +102,15 @@
>     if (lc_ctype != NULL && strlen(lc_ctype) >= 5) 
>     {       
>         lc_ctype[2] = '-';
> +       char* modifier = strrchr(lc_ctype,'@');
> +       /*
> +                  remove modifier field. It's a right thing since expat
> +         already converts data in stringset from ANY encoding to
> +         current one (if iconv knows this encoding).
> +        */
> +       if (modifier)
> +           *modifier = '\0'; 
> +
>         char* dot = strrchr(lc_ctype,'.');
>  
>         /*
> 


Reply via email to