1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-12-27 23:59:53 +02:00

Use reference to SurfaceCollection in Menu::paint()

This should have been a reference all along, but somehow I forgot to
actually type the "&".
This commit is contained in:
Maarten ter Huurne 2013-08-06 19:57:38 +02:00
parent 63029d85d7
commit 4a392a9173

View File

@ -145,7 +145,7 @@ void Menu::calcSectionRange(int &leftSection, int &rightSection) {
void Menu::paint(Surface &s) {
const uint width = s.width(), height = s.height();
Font &font = *gmenu2x->font;
SurfaceCollection sc = gmenu2x->sc;
SurfaceCollection &sc = gmenu2x->sc;
ConfIntHash &skinConfInt = gmenu2x->skinConfInt;
const int topBarHeight = skinConfInt["topBarHeight"];