Date:2013-08-06 19:57:38 (10 years 7 months ago)
Author:Maarten ter Huurne
Commit:4a392a9173a3a1ce3ab58907f23696ede36cce7d
Message:Use reference to SurfaceCollection in Menu::paint()

This should have been a reference all along, but somehow I forgot to
actually type the "&".
Files: src/menu.cpp (1 diff)

Change Details

src/menu.cpp
145145void Menu::paint(Surface &s) {
146146    const uint width = s.width(), height = s.height();
147147    Font &font = *gmenu2x->font;
148    SurfaceCollection sc = gmenu2x->sc;
148    SurfaceCollection &sc = gmenu2x->sc;
149149
150150    ConfIntHash &skinConfInt = gmenu2x->skinConfInt;
151151    const int topBarHeight = skinConfInt["topBarHeight"];

Archive Download the corresponding diff file



interactive