Changeset 3130 in orxonox.OLD for orxonox/branches/images/importer/material.cc
- Timestamp:
- Dec 8, 2004, 12:37:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/importer/material.cc
r3129 r3130 60 60 char* tmpPName = new char[strlen(pName)]; 61 61 strncpy(tmpPName, pName, strlen(pName)-1); 62 62 tmpPName[strlen(pName)-1] = '\0'; 63 printf ("%s\n",tmpPName); 63 64 if (access (tmpPName, F_OK) == 0) 64 65 { … … 76 77 else 77 78 if (verbose >=1) 78 printf ("You tried to add non-folder %s to a PathList.\n", pName);79 printf ("You tried to add non-folder %s to a PathList.\n", tmpPName); 79 80 } 80 81 else 81 82 if (verbose >=1) 82 printf ("You tried to add non-existing folder %s to a PathList.\n", pName);83 printf ("You tried to add non-existing folder %s to a PathList.\n", tmpPName); 83 84 delete []tmpPName; 84 85 }
Note: See TracChangeset
for help on using the changeset viewer.