fixed #2068: Fixing a compilation error on win32 since "•" couldn't be recognized by vs compiler.

This commit is contained in:
James Chen 2013-04-19 09:49:55 +08:00
parent 861e8e42f7
commit b91c5f099c
1 changed files with 2 additions and 1 deletions

View File

@ -288,6 +288,7 @@ void CCTextFieldTTF::setColorSpaceHolder(const ccColor3B& color)
// input text property
void CCTextFieldTTF::setString(const char *text)
{
static char bulletString[] = {0xe2, 0x80, 0xa2, 0x00};
std::string displayText;
int length;
@ -303,7 +304,7 @@ void CCTextFieldTTF::setString(const char *text)
length = m_pInputText->length();
while (length)
{
displayText.append("");
displayText.append(bulletString);
--length;
}
}