summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-08-15 09:03:16 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-08-15 09:03:16 -0400
commitcc6b036ef5209161469d36808355c40382a26bac (patch)
tree4b285ad150abfc33395183d60035fe7cb5df98b8 /firmware
parenteafdba87f8d566d7f66f11e4855d40175853acb0 (diff)
downloadrockbox-cc6b036ef5209161469d36808355c40382a26bac.tar.gz
rockbox-cc6b036ef5209161469d36808355c40382a26bac.zip
logf: Fix an incorrect fix in 835d0c737a7
Change-Id: I060033d9a7cd54bab75e4f82e3de002bdb027af2
Diffstat (limited to 'firmware')
-rw-r--r--firmware/logf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/logf.c b/firmware/logf.c
index e71425f2c3..971c2d3a35 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -304,7 +304,7 @@ void logf_panic_dump(int *y)
304 } 304 }
305 if(strlen( &logfbuffer[i + 1]) > 0) 305 if(strlen( &logfbuffer[i + 1]) > 0)
306 { 306 {
307 lcd_putsf(1, (*y)++, "%*s", &logfbuffer[i + 1]); 307 lcd_putsf(1, (*y)++, "%*s", (MAX_LOGF_SIZE-i), &logfbuffer[i + 1]);
308 lcd_update(); 308 lcd_update();
309 } 309 }
310 } 310 }