changeset 1038:153dd7b4b8a6

accepts comma as a backward compatibility
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 16:38:08 +0900
parents ff0e6d00c060
children b9cd0c88b69a ce2e2c3efab3
files Renderer/Engine/xml.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/xml.cc	Mon Nov 29 18:27:06 2010 +0900
+++ b/Renderer/Engine/xml.cc	Tue Dec 07 16:38:08 2010 +0900
@@ -26,7 +26,7 @@
   cont = skip_to_number(cont);
   if (cont == NULL) return(NULL);
 
-  for (;*cont != ' ' && *cont != '\n' && *cont != '\t';cont++)
+  for (;*cont != ' ' && *cont != '\n' && *cont != '\t' && *cont != ',' ;cont++)
     {
       if (*cont == '-')
         {