The way the new hud-performance work does the token splitting should
prevent this from happening.

The loop in question now reads like so:

  while (*string)
    {
      /* strip separators */
      string += strspn (string, SEPARATORS);

      if (*string)
        {
          gint length;

          /* consume a token */
          length = strcspn (string, SEPARATORS);
          g_ptr_array_add (array, hud_token_new (string, length));
          string += length;
        }
    }

so any number of trailing separators should be silently consumed and
have no additional effect on the search.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/937020

Title:
  hud searches should strip() the search string

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-appmenu/+bug/937020/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to