From 16ae807d6b3e476d2a2b05c7d1323437d9ad83fa Mon Sep 17 00:00:00 2001 From: ugetab Date: Fri, 9 Apr 2010 06:58:50 +0000 Subject: [PATCH] Very likely fixes the Recent games list(to prevent games from randomly going missing from it). Testing suggests that this could have caused setting-erasure errors before the Recent games error started occurring regularly. --- src/drivers/common/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/common/config.cpp b/src/drivers/common/config.cpp index ed9a0f84..bdf8e875 100644 --- a/src/drivers/common/config.cpp +++ b/src/drivers/common/config.cpp @@ -263,7 +263,7 @@ static void cfg_OldToNew(const CFGSTRUCT *cfgst) else { //string data - if(*(char*)cfgst[x].ptr) + if(*(char**)cfgst[x].ptr) cfgmap[cfgst[x].name] = *(char**)cfgst[x].ptr; else cfgmap[cfgst[x].name] = ""; }