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:
parent
49beed4e42
commit
c9439b1621
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user