Changeset 7424 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Apr 28, 2006, 6:00:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_completion_plugin.cc
r7423 r7424 106 106 else 107 107 { 108 bool grabbedDir = false; 108 109 std::string directoryName; 109 110 std::string::size_type pos = completionBegin.find_last_of("/"); … … 138 139 { 139 140 printf("Dir %s\n", fileName.c_str()); 141 grabbedDir = true; 140 142 completionList.push_back(fileName + "/"); 141 143 } 144 } 145 146 if (completionList.size() == 1 && grabbedDir) 147 { 148 std::string dir = completionList[0]; 149 completionList.clear(); 150 this->addToCompleteList(completionList, dir); 142 151 } 143 152 }
Note: See TracChangeset
for help on using the changeset viewer.