mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 12:57:31 +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:
parent
63029d85d7
commit
4a392a9173
@ -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"];
|
||||
|
Loading…
Reference in New Issue
Block a user