1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Removed some c++0x extensions.

This commit is contained in:
Frank Zago 2010-07-17 22:53:04 +00:00
parent 49beed4e42
commit c9439b1621

View File

@ -5534,7 +5534,7 @@ void CTextBox::showAll(SDL_Surface * to)
x -= slider->pos.w / 2 + 5;
}
if(line.front() == '{' && line.back() == '}')
if(line[0] == '{' && line[line.size()-1] == '}')
printAt(line, x, base_y + i*dy, font, tytulowy, to);
else
printAt(line, x, base_y + i*dy, font, color, to);