diff options
Diffstat (limited to 'kpacman/painter.cpp')
-rw-r--r-- | kpacman/painter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpacman/painter.cpp b/kpacman/painter.cpp index 256afe0..16c0083 100644 --- a/kpacman/painter.cpp +++ b/kpacman/painter.cpp @@ -70,7 +70,7 @@ TQPtrList<TQPixmap> *Painter::loadPixmap(TQWidget *parent, TQString pixmapName, "or is of an unknown format."); msg.replace(TQRegExp("@PIXMAPNAME@"), pixmapName); // TQMessageBox::critical(parent, i18n("Initialization Error"), msg); - printf("%s\n", msg.data()); + printf("%s\n", msg.local8Bit()); return 0; } @@ -668,7 +668,7 @@ TQString Painter::decodeHexOctString(TQString s) return s; } -void Painter::fillScoreString(TQStrList &list, TQArray<int> &values) +void Painter::fillScoreString(TQStrList &list, TQMemArray<int> &values) { if( !list.isEmpty()) list.clear(); @@ -692,11 +692,11 @@ void Painter::fillScoreString(TQStrList &list, TQArray<int> &values) s.insert(0, char (values[i] / 1000 + 0x10)); } - list.append(s.data()); + list.append(s.local8Bit()); } } -void Painter::fillArray(TQArray<int> &array, TQString values, int max) +void Painter::fillArray(TQMemArray<int> &array, TQString values, int max) { array.resize(max); int last = 0; |