[lasem] svg_traits: fix parsing of the second value of one_or_two_double trait.



commit 678b8dd97f33be7c4af6d0d0aac33204d26a77df
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Oct 7 22:01:27 2012 +0200

    svg_traits: fix parsing of the second value of one_or_two_double trait.
    
    It's used for the stdDeviation attributer of gaussian filters.

 src/lsmsvgtraits.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmsvgtraits.c b/src/lsmsvgtraits.c
index 29139cb..5b4299b 100644
--- a/src/lsmsvgtraits.c
+++ b/src/lsmsvgtraits.c
@@ -936,6 +936,8 @@ lsm_svg_one_or_two_double_trait_from_string (LsmTrait *abstract_trait, char *str
 		return FALSE;
 	}
 
+	string = end_ptr;
+
 	lsm_str_skip_spaces (&string);
 
 	if (string[0] == '\0') {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]