summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-08-11 20:22:08 +0100
committerRichard Hughes <richard@hughsie.com>2014-08-11 20:22:08 +0100
commitdae8dc5569d58ba13b45c78098ef4717031a28bc (patch)
treec414e71f605c56c61b18823d8f06049df2e7279f
parentc724dc536a1ff5fcb9a3bbea332be7bed3d79b9c (diff)
downloadappstream-glib-dae8dc5569d58ba13b45c78098ef4717031a28bc.tar.gz
trivial: Convert single legacy licenses too
-rw-r--r--libappstream-glib/as-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c
index dc66867..b77fc79 100644
--- a/libappstream-glib/as-utils.c
+++ b/libappstream-glib/as-utils.c
@@ -425,7 +425,7 @@ as_utils_spdx_license_tokenize (const gchar *license)
g_ptr_array_add (array, g_strdup (buf));
} else {
/* token */
- g_ptr_array_add (array, g_strdup (&license[old]));
+ g_ptr_array_add (array, as_utils_spdx_convert (&license[old]));
}
g_ptr_array_add (array, NULL);