From 02b63004534ffc918047466219f2d4cc554c4d8c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Feb 2015 15:21:52 +0100 Subject: [PATCH] Fix a thinko --- xdg-app-builtins-repo-contents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdg-app-builtins-repo-contents.c b/xdg-app-builtins-repo-contents.c index e0038b1b..896ffa79 100644 --- a/xdg-app-builtins-repo-contents.c +++ b/xdg-app-builtins-repo-contents.c @@ -130,7 +130,7 @@ xdg_app_builtin_repo_contents (int argc, char **argv, GCancellable *cancellable, break; } - if (found) + if (!found) g_ptr_array_add (names, name); else g_free (name);