summaryrefslogtreecommitdiffstats
path: root/ksokoban/ModalLabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksokoban/ModalLabel.cpp')
-rw-r--r--ksokoban/ModalLabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksokoban/ModalLabel.cpp b/ksokoban/ModalLabel.cpp
index cf813779..47d4c49b 100644
--- a/ksokoban/ModalLabel.cpp
+++ b/ksokoban/ModalLabel.cpp
@@ -40,7 +40,7 @@ ModalLabel::ModalLabel(const TQString &text, TQWidget *tqparent,
for (int linePos=0; linePos < (int) text.length(); linePos += lineLen+1) {
- lineLen = text.tqfind('\n', linePos);
+ lineLen = text.find('\n', linePos);
if (lineLen < 0) lineLen = text.length() - linePos;
else lineLen -= linePos;