[beast: 2/3] BEAST: properly split category tags at ';'
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 2/3] BEAST: properly split category tags at ';'
- Date: Tue, 10 Nov 2015 09:46:12 +0000 (UTC)
commit 820e4d89ba5340f356b2c6216544ad67c9ebf097
Author: Tim Janik <timj gnu org>
Date: Tue Nov 10 10:37:11 2015 +0100
BEAST: properly split category tags at ';'
Signed-off-by: Tim Janik <timj gnu org>
beast-gtk/bstutils.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstutils.cc b/beast-gtk/bstutils.cc
index 683a650..7b753a3 100644
--- a/beast-gtk/bstutils.cc
+++ b/beast-gtk/bstutils.cc
@@ -496,7 +496,7 @@ bst_action_list_add_module (GxkActionList *alist, const Bse::AuxData &ad, const
String title = Rapicorn::string_vector_find_value (ad.attributes, "title=");
if (title.empty())
title = ad.entity;
- Rapicorn::StringVector tags = Rapicorn::string_split (Rapicorn::string_vector_find_value (ad.attributes,
"tags="), ";:");
+ Rapicorn::StringVector tags = Rapicorn::string_split_any (Rapicorn::string_vector_find_value
(ad.attributes, "tags="), ";:");
if (tags.size())
{
tags.push_back (title);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]