summaryrefslogtreecommitdiff
path: root/skinconfig.c
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-05-25 00:05:54 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-05-25 00:05:54 +0200
commitf9669960a1db7037ebc43d6575ef2ab7a16ff393 (patch)
treea2ed859bd4e68dabffc21c53ceb075961b7a726c /skinconfig.c
parentdc9c33957504f3506815b44eed0171c7f21accf5 (diff)
downloadvdr-plugin-graphlcd-f9669960a1db7037ebc43d6575ef2ab7a16ff393.tar.gz
vdr-plugin-graphlcd-f9669960a1db7037ebc43d6575ef2ab7a16ff393.tar.bz2
another bug fix for DefaultBackgroundColor/DefaultForegroundColor
Diffstat (limited to 'skinconfig.c')
-rw-r--r--skinconfig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/skinconfig.c b/skinconfig.c
index 46fced3..0a28573 100644
--- a/skinconfig.c
+++ b/skinconfig.c
@@ -739,14 +739,14 @@ GLCD::cType cGraphLCDSkinConfig::GetToken(const GLCD::tSkinToken & Token)
}
case tokDefaultForegroundColor:
{
- char buffer[9];
- snprintf(buffer, 8, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetForegroundColor()));
+ char buffer[11];
+ snprintf(buffer, 10, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetForegroundColor()));
return buffer;
}
case tokDefaultBackgroundColor:
{
- char buffer[5];
- snprintf(buffer, 8, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetBackgroundColor()));
+ char buffer[11];
+ snprintf(buffer, 10, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetBackgroundColor()));
return buffer;
}
default: