diff --git a/Header.c b/Header.c index 571621ea..55586843 100644 --- a/Header.c +++ b/Header.c @@ -71,7 +71,7 @@ void Header_createMeter(Header* this, char* name, HeaderSide side) { char* paren = strchr(name, '('); int param = 0; if (paren) { - int ok = sscanf(paren, "(%d)", ¶m); + int ok = sscanf(paren, "(%10d)", ¶m); if (!ok) param = 0; *paren = '\0'; }