Changeset 6141 for trunk/PROBE_SET/ps_pg_tree_functions.cxx
- Timestamp:
- 14/08/09 16:29:27 (3 years ago)
- Files:
-
- 1 modified
-
trunk/PROBE_SET/ps_pg_tree_functions.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PROBE_SET/ps_pg_tree_functions.cxx
r5309 r6141 37 37 38 38 while (mapping[0]) { 39 const char * komma = strchr(mapping, ','); if (!komma) break;40 const char *semicolon = strchr( komma, ';'); if (!semicolon) break;41 string name(mapping, komma-mapping);42 komma+=1;43 string idnum( komma,semicolon-komma);39 const char *comma = strchr(mapping, ','); if (!comma) break; 40 const char *semicolon = strchr(comma, ';'); if (!semicolon) break; 41 string name(mapping, comma-mapping); 42 comma+=1; 43 string idnum(comma,semicolon-comma); 44 44 SpeciesID id = atoi(idnum.c_str()); 45 45
