simple_display: fix array size

Origin commit data
------------------
Branch: ni/coolstream
Commit: 770ab77eac
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-07 (Sat, 07 Jul 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-07-07 13:46:03 +02:00
parent 9dd22306e1
commit 641215f77b

View File

@@ -211,7 +211,7 @@ void CLCD::showTime(bool force)
}
else if (power && (force || (showclock && (now - last_display) > 4)))
{
char timestr[DISPLAY_LEN];
char timestr[DISPLAY_LEN + 1];
struct tm *t;
static int hour = 0, minute = 0;