summaryrefslogtreecommitdiffstats
path: root/kpacman/bitfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpacman/bitfont.cpp')
-rw-r--r--kpacman/bitfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpacman/bitfont.cpp b/kpacman/bitfont.cpp
index 1f4d3d9..28a265e 100644
--- a/kpacman/bitfont.cpp
+++ b/kpacman/bitfont.cpp
@@ -26,7 +26,7 @@ TQPixmap Bitfont::text(TQString str, TQColor fg, TQColor bg)
TQPixmap FG(str.length()*fontWidth, fontHeight);
TQBitmap MASK(str.length()*fontWidth, fontHeight, TRUE);
- const uchar *s = (const uchar *) str.local8Bit().data();
+ const uchar *s = str.latin1();
for (uint i = 0; i < str.length(); i++) {
if (font.width() == font.height())
bitBlt(&MASK, i*fontWidth, 0, &font,