scanner: Fix 'destroy)' typo in check for destroy request presence
This is there to enforce that we don't have interfaces with a destroy request that isn't a destructor. The check never worked because of the typo, but we also don't have any interfaces like that.
This commit is contained in:
parent
f53f42a1e7
commit
b581d13a7e
|
@ -568,7 +568,7 @@ emit_stubs(struct wl_list *message_list, struct interface *interface)
|
|||
wl_list_for_each(m, message_list, link) {
|
||||
if (m->destructor)
|
||||
has_destructor = 1;
|
||||
if (strcmp(m->name, "destroy)") == 0)
|
||||
if (strcmp(m->name, "destroy") == 0)
|
||||
has_destroy = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user