- Timestamp:
- Oct 19, 2008, 9:50:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/overlays/console/InGameConsole.cc
r1879 r1953 613 613 @return The converted string 614 614 */ 615 /*static*/ Ogre::UTFString InGameConsole::convert2UTF( std::string s)615 /*static*/ Ogre::UTFString InGameConsole::convert2UTF(const std::string& text) 616 616 { 617 617 Ogre::UTFString utf; 618 618 Ogre::UTFString::code_point cp; 619 for (unsigned int i = 0; i < s.size(); ++i)620 { 621 cp = s[i];619 for (unsigned int i = 0; i < text.size(); ++i) 620 { 621 cp = text[i]; 622 622 cp &= 0xFF; 623 623 utf.append(1, cp);
Note: See TracChangeset
for help on using the changeset viewer.