[vlc-devel] commit: VLM: use american numbers too here ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed May 21 20:57:47 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed May 21 21:58:01 2008 +0300| [bb1fb263758ffb26e0d2887bb309d274972687c2]
VLM: use american numbers too here
(we don't want sample scripts to break in certain countries)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bb1fb263758ffb26e0d2887bb309d274972687c2
---
src/input/vlmshell.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c
index 9db54d9..6d50926 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 );
More information about the vlc-devel
mailing list