summaryrefslogtreecommitdiffstats
path: root/kpacman/board.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpacman/board.cpp')
-rw-r--r--kpacman/board.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpacman/board.cpp b/kpacman/board.cpp
index 95ad5f2..8a07310 100644
--- a/kpacman/board.cpp
+++ b/kpacman/board.cpp
@@ -58,7 +58,7 @@ void Board::init(Image image, TQString levelName)
"or could not be opened for reading.");
msg.replace(TQRegExp("@LEVELNAME@"), levelName);
// TQMessageBox::information(0, i18n("Initialization Error"), msg);
- printf("%s\n", msg.local8Bit());
+ printf("%s\n", msg.local8Bit().data());
} else {
map.fill(' ', BoardHeight*BoardWidth);
int height = 0;
@@ -75,7 +75,7 @@ void Board::init(Image image, TQString levelName)
map.replace(height*BoardWidth,
(line.length() > BoardWidth) ? BoardWidth : line.length(),
- line.local8Bit());
+ line.latin1());
height++;
}
@@ -93,7 +93,7 @@ void Board::init(Image image, TQString levelName)
break;
case Level : setup(demo_bits);
break;
- case File : setup((uchar *) map.local8Bit().data());
+ case File : setup(map.latin1());
break;
default : break;
}