Changeset 3262 for code/branches/core4/src/orxonox/overlays
- Timestamp:
- Jul 1, 2009, 10:04:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/overlays/console/InGameConsole.cc
r3196 r3262 30 30 #include "InGameConsole.h" 31 31 32 #include <algorithm> 32 33 #include <string> 33 34 #include <OgreOverlay.h> … … 425 426 426 427 if (LINES > 0) 427 this->maxCharsPerLine_ = max((unsigned int)10, (unsigned int) ((float)this->desiredTextWidth_ / CHAR_WIDTH));428 this->maxCharsPerLine_ = std::max((unsigned int)10, (unsigned int) ((float)this->desiredTextWidth_ / CHAR_WIDTH)); 428 429 else 429 430 this->maxCharsPerLine_ = 10;
Note: See TracChangeset
for help on using the changeset viewer.