summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-23 02:26:27 +0200
committerRobin Gareus <robin@gareus.org>2020-04-23 02:26:27 +0200
commit1e380b1e2edbd62f6bcfb1f79b14331bd39ac1d8 (patch)
treed837275a910603adc039c56b0871f8ee21bd8c03 /gtk2_ardour/sfdb_ui.cc
parent705ac7bfc5cc3e4d793a3c1faa3326d1627679a7 (diff)
GUI use updated XML::read_buffer API
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r--gtk2_ardour/sfdb_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc
index 9fcdcc367e..318efe1971 100644
--- a/gtk2_ardour/sfdb_ui.cc
+++ b/gtk2_ardour/sfdb_ui.cc
@@ -1207,7 +1207,7 @@ SoundFileBrowser::freesound_search()
void
SoundFileBrowser::handle_freesound_results(std::string theString) {
XMLTree doc;
- doc.read_buffer( theString );
+ doc.read_buffer (theString.c_str());
XMLNode *root = doc.root();
if (!root) {