Changeset 7771 in orxonox.OLD for trunk/src/lib/shell/shell_input.cc
- Timestamp:
- May 23, 2006, 2:19:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_input.cc
r7729 r7771 175 175 176 176 // adding the new Command to the History 177 if (history. back() != this->inputLine)177 if (history.empty() || history.back() != this->inputLine) 178 178 this->history.push_back(this->inputLine); 179 179 if (this->history.size() > this->historyLength)
Note: See TracChangeset
for help on using the changeset viewer.