Fixes #465 Keep result menu data consistent, even when escaping and resuming

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4280 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2524c18e10be5b535c476bda791fc1c62495b215
Former-commit-id: 53f949d80e6659be5707efe05af139f0269f5faf
This commit is contained in:
pouillot 2011-12-17 18:12:12 +00:00
parent fc62ed4ae1
commit b84bfc2a8c

View file

@ -535,6 +535,8 @@ rmResRedisplay()
static void
rmResScreenActivate(void * /* dummy */)
{
GfLogInfo("Entering Result menu ...\n");
// Configure the event loop.
GfuiApp().eventLoop().setRecomputeCB(rmUpdateRaceEngine);
GfuiApp().eventLoop().setRedisplayCB(rmResRedisplay);
@ -564,9 +566,6 @@ rmResScreenActivate(void * /* dummy */)
static void
rmResScreenDeactivate(void * /* dummy */)
{
if (rmResRowText)
for (int i = 0; i < rmNMaxResRows; i++)
freez(rmResRowText[i]);
}
void