diff options
| author | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-25 16:01:38 -0500 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-03-07 19:19:16 -0500 |
| commit | 4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf (patch) | |
| tree | b9aad1d9c5ce2ed0b14b475cd5be9cb8d2da4784 | |
| parent | scanner: remove list_length in favor of wl_list_length (diff) | |
| download | wayland-4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf.tar wayland-4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf.tar.gz wayland-4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf.tar.bz2 wayland-4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf.tar.lz wayland-4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf.tar.xz wayland-4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf.tar.zst wayland-4e7d2127a0334da3d108bdc50fc6cd3f7ba29fdf.zip | |
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.
| -rw-r--r-- | src/scanner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.c b/src/scanner.c index fef85ab..9c14ad3 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -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; } |
