summaryrefslogtreecommitdiffstats
path: root/kalzium/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/parser.cpp')
-rw-r--r--kalzium/src/parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/parser.cpp b/kalzium/src/parser.cpp
index 9edd9f1f..a23b1078 100644
--- a/kalzium/src/parser.cpp
+++ b/kalzium/src/parser.cpp
@@ -48,7 +48,7 @@ Parser::start(const TQString& _str)
}
else {
m_index = 0;
- m_nextChar = m_str.tqat(0).latin1();
+ m_nextChar = m_str.at(0).latin1();
getNextToken();
}
}
@@ -148,7 +148,7 @@ Parser::getNextChar()
m_nextChar = -1;
}
else
- m_nextChar = m_str.tqat(++m_index).latin1();
+ m_nextChar = m_str.at(++m_index).latin1();
// Take care of null-terminated strings.
if (m_nextChar == 0) {