summaryrefslogtreecommitdiffstats
path: root/ksnake
diff options
context:
space:
mode:
Diffstat (limited to 'ksnake')
-rw-r--r--ksnake/game.cpp2
-rw-r--r--ksnake/pixServer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ksnake/game.cpp b/ksnake/game.cpp
index 9a9e978f..600bbd55 100644
--- a/ksnake/game.cpp
+++ b/ksnake/game.cpp
@@ -163,7 +163,7 @@ void Game::showSettings(){
// since the filename may contain underscore, they
// are replaced with spaces in the menu entry
TQString s = TQFileInfo( *it ).baseName();
- s = s.tqreplace(TQRegExp("_"), " ");
+ s = s.replace(TQRegExp("_"), " ");
list.append(s);
}
}
diff --git a/ksnake/pixServer.cpp b/ksnake/pixServer.cpp
index c27e554f..ed9a2113 100644
--- a/ksnake/pixServer.cpp
+++ b/ksnake/pixServer.cpp
@@ -216,7 +216,7 @@ void PixServer::drawBrick(TQPainter *p ,int i)
TQColor light(180,180,180);
TQColor dark(100,100,100);
- int topSq = board->getNext(N, i); //tqfind 'address' of neighbouring squares
+ int topSq = board->getNext(N, i); //find 'address' of neighbouring squares
int botSq = board->getNext(S, i);
int rightSq = board->getNext(E ,i);
int leftSq = board->getNext(W, i);