summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-28 02:39:51 +0000
committerlordjaxom <lordjaxom>2004-12-28 02:39:51 +0000
commit64e51f8b82603b13444a413ac20c7d9928ac7c79 (patch)
tree56575ee4e160a3a764088252825f111e7fe7341c
parentf5f6a0feabe56d37c7228aebbec83f93d03c6bc9 (diff)
downloadvdr-plugin-text2skin-64e51f8b82603b13444a413ac20c7d9928ac7c79.tar.gz
vdr-plugin-text2skin-64e51f8b82603b13444a413ac20c7d9928ac7c79.tar.bz2
- optimization
-rw-r--r--render.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/render.c b/render.c
index 1d5ed04..470332f 100644
--- a/render.c
+++ b/render.c
@@ -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;