summaryrefslogtreecommitdiffstats
path: root/src/shared/ResourceImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-02 23:58:11 +0000
committerDavid Robillard <d@drobilla.net>2009-06-02 23:58:11 +0000
commit73856ffd42ba34d279ae16ec8058a2a22bf9a1d6 (patch)
tree95c80f73feeb6b24839f8d1cd7599ce586110538 /src/shared/ResourceImpl.cpp
parent49c05a2653e2f6c8abd8390a5e1f07361cd66f33 (diff)
downloadingen-73856ffd42ba34d279ae16ec8058a2a22bf9a1d6.tar.gz
ingen-73856ffd42ba34d279ae16ec8058a2a22bf9a1d6.tar.bz2
ingen-73856ffd42ba34d279ae16ec8058a2a22bf9a1d6.zip
Fix crash on copy/paste.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2063 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/ResourceImpl.cpp')
-rw-r--r--src/shared/ResourceImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp
index ac828f58..ece81b09 100644
--- a/src/shared/ResourceImpl.cpp
+++ b/src/shared/ResourceImpl.cpp
@@ -86,6 +86,7 @@ ResourceImpl::type(
for (iterator i = types_range.first; i != types_range.second; ++i) {
const Atom& atom = i->second;
if (atom.type() == Atom::URI) {
+ cerr << "TYPE: " << atom.get_uri() << endl;
if (!strncmp(atom.get_uri(), "ingen:", 6)) {
const char* suffix = atom.get_uri() + 6;
if (!strcmp(suffix, "Patch")) {