Changeset 4216 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- May 18, 2005, 11:17:25 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/resource_manager.cc
r4167 r4216 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.