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 | ||
---|---|---|
145 | 145 | void Menu::paint(Surface &s) { |
146 | 146 | const uint width = s.width(), height = s.height(); |
147 | 147 | Font &font = *gmenu2x->font; |
148 | SurfaceCollection sc = gmenu2x->sc; | |
148 | SurfaceCollection &sc = gmenu2x->sc; | |
149 | 149 | |
150 | 150 | ConfIntHash &skinConfInt = gmenu2x->skinConfInt; |
151 | 151 | const int topBarHeight = skinConfInt["topBarHeight"]; |
Branches:
install_locations
master
opkrun
packages