From: RĂ©mi Denis-Courmont Date: Wed, 21 May 2008 18:58:01 +0000 (+0300) Subject: VLM: use american numbers too here X-Git-Tag: 0.9.0-test0~831 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bb1fb263758ffb26e0d2887bb309d274972687c2;p=vlc VLM: use american numbers too here (we don't want sample scripts to break in certain countries) --- diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c index 9db54d9523..6d50926e07 100644 --- a/src/input/vlmshell.c +++ b/src/input/vlmshell.c @@ -438,7 +438,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg, else { /* Percent */ - double d_new_position = i18n_atof( psz_argument ) / 100.0; + double d_new_position = us_atof( psz_argument ) / 100.0; if( b_relative ) { @@ -463,7 +463,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg, { if( psz_argument ) { - const double d_scale = i18n_atof( psz_argument ); + const double d_scale = us_atof( psz_argument ); double d_position; vlm_ControlInternal( p_vlm, VLM_GET_MEDIA_INSTANCE_POSITION, p_media->cfg.id, psz_instance, &d_position ); @@ -481,7 +481,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg, { if( psz_argument ) { - const double d_scale = i18n_atof( psz_argument ); + const double d_scale = us_atof( psz_argument ); double d_position; vlm_ControlInternal( p_vlm, VLM_GET_MEDIA_INSTANCE_POSITION, p_media->cfg.id, psz_instance, &d_position );