From bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 16 Mar 2012 22:27:16 +0000 Subject: Preliminary work towards native LV2 UI. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4074 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/LV2Atom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/LV2Atom.cpp') diff --git a/src/shared/LV2Atom.cpp b/src/shared/LV2Atom.cpp index 63686bf5..ccd5f352 100644 --- a/src/shared/LV2Atom.cpp +++ b/src/shared/LV2Atom.cpp @@ -43,7 +43,7 @@ to_atom(Raul::Forge* forge, } else if (object->type == uris.atom_Bool.id) { atom = forge->make((bool)(int32_t*)(object + 1)); return true; - } else if (object->type == uris.atom_Int32.id) { + } else if (object->type == uris.atom_Int.id) { atom = forge->make((int32_t*)(object + 1)); return true; } else if (object->type == uris.atom_Float.id) { @@ -67,7 +67,7 @@ from_atom(const Shared::URIs& uris, const Raul::Atom& atom, LV2_Atom* object) *(float*)(object + 1) = atom.get_float(); break; case Raul::Atom::INT: - object->type = uris.atom_Int32.id; + object->type = uris.atom_Int.id; object->size = sizeof(int32_t); *(int32_t*)(object + 1) = atom.get_int32(); break; -- cgit v1.2.1