summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-08 01:17:49 +0000
committerDavid Robillard <d@drobilla.net>2007-09-08 01:17:49 +0000
commit360cff412ea44e86c8481e781c19d401724f4abb (patch)
tree5a1f3fd846577715d63a031f1bed03fbc767b5e6 /src/libs/gui
parenta8c5598add06e2a413d06dbccb61708d164959b5 (diff)
downloadingen-360cff412ea44e86c8481e781c19d401724f4abb.tar.gz
ingen-360cff412ea44e86c8481e781c19d401724f4abb.tar.bz2
ingen-360cff412ea44e86c8481e781c19d401724f4abb.zip
Serialisation of patch enabled status.
git-svn-id: http://svn.drobilla.net/lad/ingen@700 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/LoadPluginWindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/gui/LoadPluginWindow.cpp b/src/libs/gui/LoadPluginWindow.cpp
index f079bb18..6f1fe66f 100644
--- a/src/libs/gui/LoadPluginWindow.cpp
+++ b/src/libs/gui/LoadPluginWindow.cpp
@@ -221,13 +221,13 @@ LoadPluginWindow::set_plugins(const Raul::Table<string, SharedPtr<PluginModel> >
row[_plugins_columns._col_name] = plugin->name();
//row[_plugins_columns._col_label] = plugin->plug_label();
- if (plugin->type_uri() == "ingen:Internal")
+ if (!strcmp(plugin->type_uri(), "ingen:Internal"))
row[_plugins_columns._col_type] = "Internal";
- else if (plugin->type_uri() == "ingen:LV2")
+ else if (!strcmp(plugin->type_uri(), "ingen:LV2"))
row[_plugins_columns._col_type] = "LV2";
- else if (plugin->type_uri() == "ingen:DSSI")
+ else if (!strcmp(plugin->type_uri(), "ingen:DSSI"))
row[_plugins_columns._col_type] = "DSSI";
- else if (plugin->type_uri() == "ingen:LADSPA")
+ else if (!strcmp(plugin->type_uri(), "ingen:LADSPA"))
row[_plugins_columns._col_type] = "LADSPA";
else
row[_plugins_columns._col_type] = plugin->type_uri();