[gnome-software/wip/rancell/ubuntu-3-20-4: 8/50] trivial: Fix the @LicenseRef-free string check
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-3-20-4: 8/50] trivial: Fix the @LicenseRef-free string check
- Date: Sun, 18 Jun 2017 01:11:23 +0000 (UTC)
commit ad13d1d4e4f4993414bfd50e7cde226389d59a1c
Author: Richard Hughes <richard hughsie com>
Date: Fri Apr 8 14:57:08 2016 +0100
trivial: Fix the @LicenseRef-free string check
src/gs-app.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index f8e9613..19ba15a 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -1464,7 +1464,7 @@ gs_app_set_license (GsApp *app, GsAppQuality quality, const gchar *license)
}
/* free software, license unspecified */
- if (g_str_has_prefix (tokens[i], "@LicenseRef-free") == 0) {
+ if (g_str_has_prefix (tokens[i], "@LicenseRef-free")) {
const gchar *url = "http://www.gnu.org/philosophy/free-sw.en.html";
gchar *tmp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]