use header definition

This commit is contained in:
Michael Weber 2012-06-28 08:13:31 +02:00
parent d61e5289bd
commit ac615a5407

View File

@ -132,7 +132,7 @@ main : FONTNAME STRING {
free($3);
}
| AUTOGROUP NUMBER STRING {
if ($2 < 0 || $2 > 9) {
if ($2 < 0 || $2 > CALMWM_NGROUPS) {
free($3);
yyerror("autogroup number out of range: %d", $2);
YYERROR;