From a0a33bed097b486140fc39b642cbee3780c38129 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Mon, 3 Dec 2007 02:30:05 +0000
Subject: Fix loading outgoing edges from initial node.

git-svn-id: http://svn.drobilla.net/lad/machina@940 a436a847-0d15-0410-975c-d299462d15a1
---
 src/engine/Loader.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/engine')

diff --git a/src/engine/Loader.cpp b/src/engine/Loader.cpp
index 4449ae2..0e3d799 100644
--- a/src/engine/Loader.cpp
+++ b/src/engine/Loader.cpp
@@ -84,9 +84,9 @@ Loader::load(const Glib::ustring& uri)
 	/* Get initial nodes */
 
 	Query query = Query(_rdf_world, ustring(
-		"SELECT DISTINCT ?initialNode ?duration WHERE {\n") + 
-		machine_uri + " :initialNode ?initialNode .\n"
-		"?initialNode   :duration    ?duration .\n"
+		"SELECT DISTINCT ?node ?duration WHERE {\n") + 
+		machine_uri + " :initialNode ?node .\n"
+		"?node          :duration    ?duration .\n"
 		"}\n");
 
 	Query::Results results = query.run(_rdf_world, model);
-- 
cgit v1.2.1