Merge pull request #913 from matthiasclasen/fix-match-subrefs

Fix flatpak_summary_match_subrefs
tingping/wmclass
Matthias Clasen 2017-07-09 10:53:40 -04:00 committed by GitHub
commit 3259704a06
1 changed files with 1 additions and 1 deletions

View File

@ -2587,7 +2587,7 @@ flatpak_summary_match_subrefs (GVariant *summary, const char *ref)
continue;
/* Must match arch & branch */
if (!g_str_has_prefix (cur, ref_prefix))
if (!g_str_has_suffix (cur, ref_suffix))
continue;
id_start = strchr (cur, '/');