summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-06-08 11:13:30 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-06-08 11:13:30 +0000
commit8a52d171fedf1a568f65a17f0634e2b8a2703b8d (patch)
tree32ef31ec8fd26ca84819dfa6e4519ebef57e3177 /apps
parent0c7eb41da8253837a571cc037a932c77348a88c9 (diff)
fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26688 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/lib/simple_viewer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/lib/simple_viewer.c b/apps/plugins/lib/simple_viewer.c
index c83f005ef4..bbb0b0310d 100644
--- a/apps/plugins/lib/simple_viewer.c
+++ b/apps/plugins/lib/simple_viewer.c
@@ -92,7 +92,6 @@ static void calc_first_line(struct view_info *info, int line)
if (line < 0)
line = 0;
- DEBUGF("%d -> %d\n", info->line, line);
if (info->line <= line)
{
ptr += info->start;
@@ -105,7 +104,6 @@ static void calc_first_line(struct view_info *info, int line)
}
info->start = ptr - info->text;
info->line = i;
- DEBUGF("%d: %d\n", info->line, info->start);
}
static int init_view(struct view_info *info,
@@ -161,19 +159,15 @@ static void draw_text(struct view_info *info)
}
max_show = MIN(info->line_count - info->line, info->display_lines);
- DEBUGF("draw_text: %d-%d/%d\n",
- info->line, info->line + max_show, info->line_count);
text = info->text + info->start;
for (i = 0; i < max_show; i++, lines++)
{
ptr = get_next_line(text, info);
- DEBUGF("%d>%d-%d, ", i, text-info->text, ptr-text);
rb->strlcpy(output, text, ptr-text+1);
rb->lcd_puts(0, lines, output);
text = ptr;
}
- DEBUGF("\n");
rb->lcd_update();
}