summaryrefslogtreecommitdiffstats
path: root/kttsd/filters/xhtml2ssml
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:22:41 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:22:41 -0500
commiteac1a7ea62c706d43f60b10464dfb95882c29322 (patch)
treef46778d3a676a7224f1636f8c7722ed6b548076c /kttsd/filters/xhtml2ssml
parent291eb6aeb485cabdf27d0e44187fe36bc6ee5f96 (diff)
downloadtdeaccessibility-eac1a7ea62c706d43f60b10464dfb95882c29322.tar.gz
tdeaccessibility-eac1a7ea62c706d43f60b10464dfb95882c29322.zip
Fix typos.
Diffstat (limited to 'kttsd/filters/xhtml2ssml')
-rw-r--r--kttsd/filters/xhtml2ssml/xhtml2ssml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kttsd/filters/xhtml2ssml/xhtml2ssml.cpp b/kttsd/filters/xhtml2ssml/xhtml2ssml.cpp
index 2c065e0..5184c34 100644
--- a/kttsd/filters/xhtml2ssml/xhtml2ssml.cpp
+++ b/kttsd/filters/xhtml2ssml/xhtml2ssml.cpp
@@ -54,7 +54,7 @@ bool XHTMLToSSMLParser::startDocument() {
bool XHTMLToSSMLParser::startElement(const TQString &, const TQString &, const TQString &qName, const TQXmlAttributes &atts) {
TQString attributes = "";
if(atts.length() > 0) {
- const int attsLength = atts.lenght();
+ const int attsLength = atts.length();
for(int i = 0; i < attsLength; ++i)
attributes += " " + atts.qName(i) + "=\"" + atts.value(i) + "\"";
}