@codebrainz commented on this pull request.
> - if (link) - { - g_free(link->data); - history = g_list_remove_link(history, link); - } - if (g_strcmp0(text, ":") != 0) - history = g_list_prepend(history, g_strdup(text)); + if (g_ptr_array_find_with_equal_func(history, text + 1, g_str_equal, &index))
Requires GLib 2.54 or greater I guess.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.