mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
use header definition
This commit is contained in:
parent
d61e5289bd
commit
ac615a5407
2
parse.y
2
parse.y
@ -132,7 +132,7 @@ main : FONTNAME STRING {
|
|||||||
free($3);
|
free($3);
|
||||||
}
|
}
|
||||||
| AUTOGROUP NUMBER STRING {
|
| AUTOGROUP NUMBER STRING {
|
||||||
if ($2 < 0 || $2 > 9) {
|
if ($2 < 0 || $2 > CALMWM_NGROUPS) {
|
||||||
free($3);
|
free($3);
|
||||||
yyerror("autogroup number out of range: %d", $2);
|
yyerror("autogroup number out of range: %d", $2);
|
||||||
YYERROR;
|
YYERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user