mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Removed some c++0x extensions.
This commit is contained in:
@@ -5534,7 +5534,7 @@ void CTextBox::showAll(SDL_Surface * to)
|
|||||||
x -= slider->pos.w / 2 + 5;
|
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);
|
printAt(line, x, base_y + i*dy, font, tytulowy, to);
|
||||||
else
|
else
|
||||||
printAt(line, x, base_y + i*dy, font, color, to);
|
printAt(line, x, base_y + i*dy, font, color, to);
|
||||||
|
Reference in New Issue
Block a user