summaryrefslogtreecommitdiffstats
path: root/apps/logfdisp.c
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-11 22:19:47 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-11 22:19:47 +0000
commit16ee4160d6f7fd5beb09137bdbe1952f1a14ae1e (patch)
tree4657d82b15d8e6495dc8a11c79e9bd7e63271bb9 /apps/logfdisp.c
parent2c571d98e7ec7667767cfba558c6ad1ec1968632 (diff)
downloadrockbox-16ee4160d6f7fd5beb09137bdbe1952f1a14ae1e.tar.gz
rockbox-16ee4160d6f7fd5beb09137bdbe1952f1a14ae1e.tar.bz2
rockbox-16ee4160d6f7fd5beb09137bdbe1952f1a14ae1e.zip
Make logf not be a dumb wrapper
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/logfdisp.c')
-rw-r--r--apps/logfdisp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/logfdisp.c b/apps/logfdisp.c
index 9c1667f86d..39d7ec62b6 100644
--- a/apps/logfdisp.c
+++ b/apps/logfdisp.c
@@ -66,6 +66,9 @@ bool logfdisplay(void)
0
#endif
:LCD_WIDTH)/w;
+
+ if (columns > MAX_LOGF_ENTRY)
+ columns = MAX_LOGF_ENTRY;
if(!lines)
return false;