diff options
-rw-r--r-- | skinconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skinconfig.c b/skinconfig.c index b387e74..46fced3 100644 --- a/skinconfig.c +++ b/skinconfig.c @@ -740,13 +740,13 @@ GLCD::cType cGraphLCDSkinConfig::GetToken(const GLCD::tSkinToken & Token) case tokDefaultForegroundColor: { char buffer[9]; - snprintf(buffer, 8, "%08x", (uint32_t)((mDisplay)->GetDriver()->GetForegroundColor())); + snprintf(buffer, 8, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetForegroundColor())); return buffer; } case tokDefaultBackgroundColor: { char buffer[5]; - snprintf(buffer, 8, "%08x", (uint32_t)((mDisplay)->GetDriver()->GetBackgroundColor())); + snprintf(buffer, 8, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetBackgroundColor())); return buffer; } default: |