Bugfix for the kill command (used a.o. in test 18). Call to match_init is to be used i.o. a simple memset() to zero. Otherwise the boolean dock field doesn't get initalized to -1.
This commit is contained in:
parent
ebe878d24c
commit
8159ffaa06
|
@ -162,7 +162,7 @@ commands: /* empty */
|
|||
TAILQ_REMOVE(&owindows, current, owindows);
|
||||
free(current);
|
||||
}
|
||||
memset(¤t_match, 0, sizeof(Match));
|
||||
match_init(¤t_match);
|
||||
}
|
||||
;
|
||||
|
||||
|
@ -185,7 +185,7 @@ matchstart:
|
|||
'['
|
||||
{
|
||||
printf("start\n");
|
||||
memset(¤t_match, '\0', sizeof(Match));
|
||||
match_init(¤t_match);
|
||||
TAILQ_INIT(&owindows);
|
||||
/* copy all_cons */
|
||||
Con *con;
|
||||
|
|
Loading…
Reference in New Issue