diff options
Diffstat (limited to 'src/renderer.cpp')
-rw-r--r-- | src/renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp index fcc6eb7..963c987 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp @@ -332,7 +332,7 @@ void Renderer::drawLine(TQPainter & paint, int x, int y, const TLines::size_type //count spaces std::vector<int> spaces; spaces.reserve(50); - while (((pos = string.tqfind(' ', off)) != -1) && (pos < length)) + while (((pos = string.find(' ', off)) != -1) && (pos < length)) { spaces.push_back(pos); off = pos + 1; |