fix tooltips in GameCarousel (Issue 988)

This commit is contained in:
ardi@ist-einmalig.de 2009-10-08 16:29:58 +00:00
parent da4b3665da
commit f270f828da

View File

@ -479,7 +479,7 @@ void GuiGameCarousel::Update(GuiTrigger * t)
int ii = pagesize-1; int ii = pagesize-1;
gameIndex[ii] = OFFSETLIMIT(listOffset + ii, gameCnt); gameIndex[ii] = OFFSETLIMIT(listOffset + ii, gameCnt);
titleTT[ii] = tmpTT; titleTT[ii] = tmpTT;
titleTT[ii] ->SetText(get_title(&gameList[gameIndex[0]])); titleTT[ii] ->SetText(get_title(&gameList[gameIndex[ii]]));
coverImg[ii] = new GuiImageAsync(GameCarouselLoadCoverImage, &gameList[gameIndex[ii]], sizeof(struct discHdr), &noCover); coverImg[ii] = new GuiImageAsync(GameCarouselLoadCoverImage, &gameList[gameIndex[ii]], sizeof(struct discHdr), &noCover);
coverImg[ii] ->SetWidescreen(CFG.widescreen); coverImg[ii] ->SetWidescreen(CFG.widescreen);