From 56ae558bbc8d5d3b8c966672dc387dfc9e15a8ea Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Dec 2007 06:32:55 +0000 Subject: Clean up query code. git-svn-id: http://svn.drobilla.net/lad/raul@933 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Atom.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raul/Atom.hpp b/raul/Atom.hpp index c030bc5..e25f4bd 100644 --- a/raul/Atom.hpp +++ b/raul/Atom.hpp @@ -67,7 +67,7 @@ public: { if (node.type() == Redland::Node::RESOURCE) { _type = STRING; - _string_val = strdup(node.to_string().c_str()); + _string_val = strdup(node.to_c_string()); } else if (node.is_float()) { _type = FLOAT; _float_val = node.to_float(); @@ -79,7 +79,7 @@ public: _bool_val = node.to_bool(); } else { _type = STRING; - _string_val = strdup(node.to_string().c_str()); + _string_val = strdup(node.to_c_string()); } } #endif -- cgit v1.2.1