Changeset 7412 in orxonox.OLD for trunk/src/lib/shell/shell_completion_plugin.cc
- Timestamp:
- Apr 28, 2006, 12:03:54 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_completion_plugin.cc
r7409 r7412 47 47 void CompletorStringArray::addToCompleteList(std::vector<std::string>& completionList, const std::string& completionBegin) const 48 48 { 49 printf("TEST\n"); 49 50 unsigned int inputLen = completionBegin.size(); 50 51 for (unsigned int i = 0; i < this->_size; ++i) 52 { 53 printf("%s\n", this->_stringArray[i].c_str()); 51 54 if (!nocaseCmp(this->_stringArray[i], completionBegin, inputLen)) 52 55 completionList.push_back(this->_stringArray[i]); 56 } 53 57 } 54 58
Note: See TracChangeset
for help on using the changeset viewer.