summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uscxml/Message.cpp2
-rw-r--r--src/uscxml/plugins/datamodel/prolog/swi/SWIDataModel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/uscxml/Message.cpp b/src/uscxml/Message.cpp
index 26cf640..4591484 100644
--- a/src/uscxml/Message.cpp
+++ b/src/uscxml/Message.cpp
@@ -62,7 +62,7 @@ Blob::Blob(void* _data, size_t _size, const std::string& _mimeType, bool adopt)
}
#if 0
-// there used to work base64 encoded images in a browser - can't check extensively just now
+// this used to work base64 encoded images in a browser - can't check extensively just now
static const std::string base64_chars =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
diff --git a/src/uscxml/plugins/datamodel/prolog/swi/SWIDataModel.cpp b/src/uscxml/plugins/datamodel/prolog/swi/SWIDataModel.cpp
index 9a0a831..4786903 100644
--- a/src/uscxml/plugins/datamodel/prolog/swi/SWIDataModel.cpp
+++ b/src/uscxml/plugins/datamodel/prolog/swi/SWIDataModel.cpp
@@ -471,9 +471,9 @@ void SWIDataModel::assign(const Element<std::string>& assignElem,
std::stringstream dataInitStr;
std::stringstream xmlDoc;
Node<std::string> child = node;
- while(node) {
+ while(child) {
xmlDoc << child;
- child = node.getNextSibling();
+ child = child.getNextSibling();
}
domUrl = URL::toLocalFile(xmlDoc.str(), ".pl");
if (iequals(type, "retract"))