From 72e1a2119baea9690bdea0b729ecbafade2c87ba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Feb 2017 12:56:45 +0100 Subject: Fix filtering by type in plugin selector --- ingen/Forge.hpp | 4 ++-- ingen/client/PluginModel.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ingen') diff --git a/ingen/Forge.hpp b/ingen/Forge.hpp index b9d98a1d..9b45bde1 100644 --- a/ingen/Forge.hpp +++ b/ingen/Forge.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard + Copyright 2007-2017 David Robillard Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -35,7 +35,7 @@ class INGEN_API Forge : public LV2_Atom_Forge { public: explicit Forge(URIMap& map); - std::string str(const Atom& atom, bool quoted=true); + std::string str(const Atom& atom, bool quoted); bool is_uri(const Atom& atom) const { return atom.type() == URI || atom.type() == URID; diff --git a/ingen/client/PluginModel.hpp b/ingen/client/PluginModel.hpp index ad425904..6883596a 100644 --- a/ingen/client/PluginModel.hpp +++ b/ingen/client/PluginModel.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard + Copyright 2007-2017 David Robillard Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -56,7 +56,7 @@ public: const Atom& type() const { return _type; } const Raul::URI type_uri() const { return Raul::URI(_type.is_valid() - ? _uris.forge.str(_type) + ? _uris.forge.str(_type, false) : "http://www.w3.org/2002/07/owl#Nothing"); } -- cgit v1.2.1