summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2013-07-29 12:12:28 +0200
committerLars-Dominik Braun <lars@6xq.net>2013-07-29 12:12:28 +0200
commitbacc60b7a8e7854ca14b5a5f65429500831f20cb (patch)
treeaf9deecc039c23584c7a3ca35da598b501b1021a
parent6e82d7e6852fdac4a178445b3e2bcdb6d4e0fa63 (diff)
downloadpianobar-bacc60b7a8e7854ca14b5a5f65429500831f20cb.tar.gz
pianobar-bacc60b7a8e7854ca14b5a5f65429500831f20cb.tar.bz2
pianobar-bacc60b7a8e7854ca14b5a5f65429500831f20cb.zip
Fix display of song lists with more than 999 items
Increased buffer size.
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index ae0d880..12a64b4 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -665,7 +665,7 @@ inline void BarUiPrintSong (const BarSettings_t *settings,
size_t BarUiListSongs (const BarSettings_t *settings,
const PianoSong_t *song, const char *filter) {
size_t i = 0;
- char digits[4];
+ char digits[8];
while (song != NULL) {
if (filter == NULL ||