diff options
-rw-r--r-- | core/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/profile.c b/core/profile.c index 2302822fe..c1bcc40fa 100644 --- a/core/profile.c +++ b/core/profile.c @@ -341,7 +341,7 @@ struct event *get_next_event_mutable(struct event *event, const char *name) if (!name || !*name) return NULL; while (event) { - if (!strcmp(event->name, name)) + if (same_string(event->name, name)) return event; event = event->next; } |