add system_property("property_name")
[scilab.git] / scilab / modules / jvm / src / c / getClasspath.c
index e5fbb47..f5d1a4b 100644 (file)
@@ -54,7 +54,7 @@ char **getClasspath(int *sizeClasspathArray)
                                                string = (char*)MALLOC(sizeof(char)*(strlen(str)+1));\r
 \r
                                                #if _MSC_VER\r
-                                               if (strlen(str) > 6) strcpy(string,&str[6]);\r
+                                               if (strlen(str) > 1) strcpy(string,&str[1]);\r
                                                #else\r
                                                if (strlen(str) > 5) strcpy(string,&str[5]);\r
                                                #endif\r