mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ emit_stubs(struct wl_list *message_list, struct interface *interface)
|
||||||
wl_list_for_each(m, message_list, link) {
|
wl_list_for_each(m, message_list, link) {
|
||||||
if (m->destructor)
|
if (m->destructor)
|
||||||
has_destructor = 1;
|
has_destructor = 1;
|
||||||
if (strcmp(m->name, "destroy)") == 0)
|
if (strcmp(m->name, "destroy") == 0)
|
||||||
has_destroy = 1;
|
has_destroy = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue