fixed a crash when no last
This commit is contained in:
parent
a55ed32fa1
commit
502e2c6102
|
@ -886,6 +886,7 @@ EX namespace dialog {
|
||||||
last = &(items[i]);
|
last = &(items[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(last)
|
||||||
set_highlight(*last);
|
set_highlight(*last);
|
||||||
}
|
}
|
||||||
if(DKEY == SDLK_DOWN) {
|
if(DKEY == SDLK_DOWN) {
|
||||||
|
|
Loading…
Reference in New Issue