forked from 0ad/0ad
Fix compiler warning
This was SVN commit r16849.
This commit is contained in:
parent
f74215e96c
commit
04982b0bf5
@ -79,7 +79,7 @@ void CGUIString::GenerateTextCall(const CGUI* pGUI,
|
|||||||
|
|
||||||
// it's in the end of one word, and the icon
|
// it's in the end of one word, and the icon
|
||||||
// should really belong to the beginning of the next one
|
// should really belong to the beginning of the next one
|
||||||
if (_to == to && to >= 1 && to < m_RawString.length())
|
if (_to == to && to >= 1 && to < (int)m_RawString.length())
|
||||||
{
|
{
|
||||||
if (m_RawString[to-1] == ' ' ||
|
if (m_RawString[to-1] == ' ' ||
|
||||||
m_RawString[to-1] == '-' ||
|
m_RawString[to-1] == '-' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user