diff options
Diffstat (limited to 'kdecore/kpalette.cpp')
-rw-r--r-- | kdecore/kpalette.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kpalette.cpp b/kdecore/kpalette.cpp index 49cacc79b..bc446367a 100644 --- a/kdecore/kpalette.cpp +++ b/kdecore/kpalette.cpp @@ -65,10 +65,10 @@ KPalette::KPalette(const TQString &name) // Read first line // Expected "GIMP Palette" - if (paletteFile.readLine(line, maxLength) == -1) return; + if (paletteFile.readLine(line.ascii(), maxLength) == -1) return; if (line.find(" Palette") == -1) return; - while( paletteFile.readLine(line, maxLength) != -1) + while( paletteFile.readLine(line.ascii(), maxLength) != -1) { if (line[0] == '#') { |