From 9826dd0f7cc53881de23fac317a7190e47f78401 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Sun, 3 Jan 2010 14:54:02 +0100 Subject: Replace strtod with locale-independent strtod strtod respects the locale and in some locales, the decimal separator is not a point, leading to parsing errors in tags like \pos(23.4,5), which are perfectly valid. As there isn't a really portable way to use a particular locale just for one call to strtod, reimplement it. The implementation was taken from the 1.8 branch of Ruby. --- libass/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libass/Makefile.am') diff --git a/libass/Makefile.am b/libass/Makefile.am index 0cf613e..10b5c5b 100644 --- a/libass/Makefile.am +++ b/libass/Makefile.am @@ -8,7 +8,7 @@ libass_la_SOURCES = ass.c ass_cache.c ass_font.c ass_fontconfig.c ass_render.c \ ass_cache.h ass_fontconfig.h ass_font.h ass.h \ ass_library.h ass_types.h ass_utils.h ass_drawing.c \ ass_drawing.h ass_cache_template.h ass_render.h \ - ass_parse.c ass_parse.h + ass_parse.c ass_parse.h ass_strtod.c libass_la_LDFLAGS = -version-info $(LIBASS_LT_CURRENT):$(LIBASS_LT_REVISION):$(LIBASS_LT_AGE) libass_la_LDFLAGS += -export-symbols $(srcdir)/libass.sym -- cgit v1.2.3