Browse Source

Merge pull request #1055 from rgngl/androidFix

Fixed compilation error on Android
Sean Paul Taylor 12 years ago
parent
commit
d11299b877
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gameplay/src/TextBox.cpp

+ 1 - 1
gameplay/src/TextBox.cpp

@@ -524,7 +524,7 @@ std::string TextBox::getDisplayedText() const
     std::string displayedText;
     switch (_inputMode) {
         case PASSWORD:
-            displayedText.insert(0, _text.length(), _passwordChar);
+            displayedText.insert((size_t)0, _text.length(), _passwordChar);
             break;
 
         case TEXT: