Bug#582421: [Patch] Floating point is broken if :lang is called in gvim

2010-05-21 Thread Bram Moolenaar
James - > On Thu, May 20, 2010 at 05:01:01PM -0400, James Vega wrote: > > On Thu, May 20, 2010 at 10:12:50PM +0200, Bram Moolenaar wrote: > > > > If the locale is changed in gvim via ":lang" to a locale which uses > > > > comma for the decimal separator, then floating point numbers are no > > > >

Bug#582421: [Patch] Floating point is broken if :lang is called in gvim

2010-05-20 Thread James Vega
On Thu, May 20, 2010 at 05:01:01PM -0400, James Vega wrote: > On Thu, May 20, 2010 at 10:12:50PM +0200, Bram Moolenaar wrote: > > > If the locale is changed in gvim via ":lang" to a locale which uses > > > comma for the decimal separator, then floating point numbers are no > > > longer usable. Thi

Bug#582421: [Patch] Floating point is broken if :lang is called in gvim

2010-05-20 Thread James Vega
On Thu, May 20, 2010 at 10:12:50PM +0200, Bram Moolenaar wrote: > > If the locale is changed in gvim via ":lang" to a locale which uses > > comma for the decimal separator, then floating point numbers are no > > longer usable. This only happens with the ":lang $locale" variant, > > since that sets

Bug#582421: [Patch] Floating point is broken if :lang is called in gvim

2010-05-20 Thread Bram Moolenaar
James - > If the locale is changed in gvim via ":lang" to a locale which uses > comma for the decimal separator, then floating point numbers are no > longer usable. This only happens with the ":lang $locale" variant, > since that sets $LANG before calling gtk_set_locale(). > > env LANG=C gvim

Bug#582421: [Patch] Floating point is broken if :lang is called in gvim

2010-05-20 Thread James Vega
Bram, If the locale is changed in gvim via ":lang" to a locale which uses comma for the decimal separator, then floating point numbers are no longer usable. This only happens with the ":lang $locale" variant, since that sets $LANG before calling gtk_set_locale(). env LANG=C gvim :lang es_ES.