Changeset 4223 in orxonox.OLD for orxonox/branches/physics/src/util
- Timestamp:
- May 19, 2005, 7:45:28 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/util/resource_manager.cc
r4178 r4223 648 648 char* ResourceManager::getFullName(const char* fileName) 649 649 { 650 char* retName = new char[strlen(ResourceManager::getInstance()->getDataDir()) + strlen(fileName)+1]; 650 char* retName = new char[strlen(ResourceManager::getInstance()->getDataDir()) 651 + strlen(fileName) + 1]; 651 652 sprintf(retName, "%s%s", ResourceManager::getInstance()->getDataDir(), fileName); 652 653 if (ResourceManager::isFile(retName))
Note: See TracChangeset
for help on using the changeset viewer.