1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 10:04:05 +02:00

Fixed missing field initialization.

The "close" field was read before it was written.
Thanks to Ayla for this fix.
This commit is contained in:
Maarten ter Huurne 2010-07-26 04:29:38 +02:00
parent 07fa091859
commit 727d9e95d5

View File

@ -56,6 +56,7 @@ bool BrowseDialog::exec()
touchRect = (SDL_Rect){2, gmenu2x->skinConfInt["topBarHeight"]+4, gmenu2x->resX-12, clipRect.h}; touchRect = (SDL_Rect){2, gmenu2x->skinConfInt["topBarHeight"]+4, gmenu2x->resX-12, clipRect.h};
selected = 0; selected = 0;
close = false;
while (!close) { while (!close) {
if (gmenu2x->f200) gmenu2x->ts.poll(); if (gmenu2x->f200) gmenu2x->ts.poll();