Changeset 8224 in orxonox.OLD for branches/gui/src/lib/shell
- Timestamp:
- Jun 8, 2006, 10:10:51 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/shell/shell_completion_plugin.cc
r7661 r8224 100 100 dir.setFileName(ResourceManager::getInstance()->getDataDir() + this->_subDir); 101 101 dir.open(); 102 while(dir)102 for(unsigned int i = 0; i < dir.fileCount(); i++ ) 103 103 { 104 completionList.push_back(this->_subDir + "/" + dir .next());104 completionList.push_back(this->_subDir + "/" + dir[i]); 105 105 } 106 106 } … … 118 118 std::string fileName; 119 119 std::string currFile; 120 while(dir)120 for(unsigned int i = 0; i < dir.fileCount(); i++) 121 121 { 122 currFile = dir .next();122 currFile = dir[i]; 123 123 if (currFile[0] == '.') 124 124 continue;
Note: See TracChangeset
for help on using the changeset viewer.