Use the correct vtable for the Shearwater Petrel.
That was an harmless copy&paste error. Signed-off-by: Patrick Valsecchi <patrick@thus.ch>
This commit is contained in:
parent
8e0355c354
commit
8edbceaa4d
@ -88,7 +88,7 @@ shearwater_common_parser_create (dc_parser_t **out, dc_context_t *context, unsig
|
|||||||
// Initialize the base class.
|
// Initialize the base class.
|
||||||
parser->petrel = petrel;
|
parser->petrel = petrel;
|
||||||
if (petrel) {
|
if (petrel) {
|
||||||
parser_init (&parser->base, context, &shearwater_predator_parser_vtable);
|
parser_init (&parser->base, context, &shearwater_petrel_parser_vtable);
|
||||||
} else {
|
} else {
|
||||||
parser_init (&parser->base, context, &shearwater_predator_parser_vtable);
|
parser_init (&parser->base, context, &shearwater_predator_parser_vtable);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user