Fix for last change

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@472 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-03-09 20:40:18 +00:00
parent efa68de194
commit eb79a5a016
2 changed files with 4 additions and 2 deletions

View File

@@ -4655,7 +4655,7 @@ void RenderChar(int Char, tstPageAttr *Attribute, int zoom, int yoffset)
if (!(glyph = FT_Get_Char_Index(face, Char))) if (!(glyph = FT_Get_Char_Index(face, Char)))
{ {
#if 0// TUXTXT_DEBUG #if 1// TUXTXT_DEBUG
printf("TuxTxt <FT_Get_Char_Index for Char %d %x \"%c\" failed\n", Char, Char, Char); printf("TuxTxt <FT_Get_Char_Index for Char %d %x \"%c\" failed\n", Char, Char, Char);
#endif #endif
FillRect(PosX, PosY + yoffset, curfontwidth, factor*fontheight, bgcolor); FillRect(PosX, PosY + yoffset, curfontwidth, factor*fontheight, bgcolor);

View File

@@ -124,6 +124,7 @@ void CMenuWidget::Init(const std::string & Icon, const int mwidth, const int /*m
wanted_height = height; wanted_height = height;
current_page=0; current_page=0;
offx = offy = 0; offx = offy = 0;
from_wizard = false;
} }
void CMenuWidget::move(int xoff, int yoff) void CMenuWidget::move(int xoff, int yoff)
@@ -434,8 +435,9 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
for (unsigned int count = 0; count < items.size(); count++) { for (unsigned int count = 0; count < items.size(); count++) {
if(items[count] == GenericMenuNext) if(items[count] == GenericMenuNext) {
items[count] = GenericMenuBack; items[count] = GenericMenuBack;
}
CMenuItem* item = items[count]; CMenuItem* item = items[count];
item->init(-1, 0, 0, 0); item->init(-1, 0, 0, 0);
} }