Changeset 8615 for code/branches/presentation/src/libraries/core
- Timestamp:
- May 26, 2011, 6:01:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/libraries/core/command/Shell.cc
r8079 r8615 265 265 return; 266 266 267 size_t previous_offset = mod( this->historyOffset_- 1, this->maxHistoryLength_);267 size_t previous_offset = mod(static_cast<int>(this->historyOffset_) - 1, this->maxHistoryLength_); 268 268 if (previous_offset < this->commandHistory_.size() && command == this->commandHistory_[previous_offset]) 269 269 return;
Note: See TracChangeset
for help on using the changeset viewer.