diff options
author | lordjaxom <lordjaxom> | 2004-12-28 02:39:51 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-28 02:39:51 +0000 |
commit | 64e51f8b82603b13444a413ac20c7d9928ac7c79 (patch) | |
tree | 56575ee4e160a3a764088252825f111e7fe7341c | |
parent | f5f6a0feabe56d37c7228aebbec83f93d03c6bc9 (diff) | |
download | vdr-plugin-text2skin-64e51f8b82603b13444a413ac20c7d9928ac7c79.tar.gz vdr-plugin-text2skin-64e51f8b82603b13444a413ac20c7d9928ac7c79.tar.bz2 |
- optimization
-rw-r--r-- | render.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,5 +1,5 @@ /* - * $Id: render.c,v 1.6 2004/12/28 01:54:02 lordjaxom Exp $ + * $Id: render.c,v 1.7 2004/12/28 02:39:51 lordjaxom Exp $ */ #include "render.h" @@ -212,11 +212,8 @@ void cText2SkinRender::DrawObject(const cxObject *Object) uint yoffset = 0; for (uint i = 0; i < maxitems; ++i, yoffset += itemheight) { - for (uint j = 0; j < Object->Objects(); ++j) { + for (uint j = 1; j < Object->Objects(); ++j) { const cxObject *o = Object->GetObject(j); - if (o->Type() == cxObject::item) - continue; - for (int t = -1; t < cSkinDisplayMenu::MaxTabs; ++t) { if (!HasTabText(i, t)) continue; |