diff options
Diffstat (limited to 'libk9copy')
-rw-r--r-- | libk9copy/k9burndvd.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9cellcopylist.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9dvd.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9dvdauthor.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9saveimage.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp index b30ee59..8269344 100644 --- a/libk9copy/k9burndvd.cpp +++ b/libk9copy/k9burndvd.cpp @@ -59,7 +59,7 @@ void k9BurnDVD::setburnDevice( const TQString& _newVal) { /** Write property of TQString workDir. */ void k9BurnDVD::setworkDir( const TQString& _newVal) { workDir = _newVal; - if (workDir.right(1)!='/') + if (workDir.right(1)!="/") workDir +='/'; } diff --git a/libk9copy/k9cellcopylist.cpp b/libk9copy/k9cellcopylist.cpp index c04ea0b..2449742 100644 --- a/libk9copy/k9cellcopylist.cpp +++ b/libk9copy/k9cellcopylist.cpp @@ -109,7 +109,7 @@ k9Cell *k9CellCopyList::addCell(int _VTS,int _pgc,int _id,uint32_t startSector,u if (cell->startSector ==startSector && cell->vts==_VTS) { bFound=true; if (cell->lastSector!=lastSector ) - tqDebug("last sector doesn't match","DVD Backup"); + tqDebug("last sector doesn't match DVD Backup"); } if (!bFound && (_VTS <cell->vts || (startSector<cell->startSector && cell->vts ==_VTS ) )) { diff --git a/libk9copy/k9dvd.cpp b/libk9copy/k9dvd.cpp index ddb7fde..6b38063 100644 --- a/libk9copy/k9dvd.cpp +++ b/libk9copy/k9dvd.cpp @@ -258,7 +258,7 @@ TQString k9DVD::lang_name(const TQString& code,const TQString & name) { c = l.name; } } else { - if (strcmp(name.latin1(),l.name)==0) { + if (name == l.name) { c = l.code; } diff --git a/libk9copy/k9dvdauthor.cpp b/libk9copy/k9dvdauthor.cpp index e6023e7..b45e1a0 100644 --- a/libk9copy/k9dvdauthor.cpp +++ b/libk9copy/k9dvdauthor.cpp @@ -404,7 +404,7 @@ const TQString& k9DVDAuthor::getworkDir() { } void k9DVDAuthor::setworkDir( const TQString& _newVal) { workDir = _newVal; - if (workDir.right(1)!='/') + if (workDir.right(1)!="/") workDir +='/'; } diff --git a/libk9copy/k9saveimage.cpp b/libk9copy/k9saveimage.cpp index 758f8de..20e643a 100644 --- a/libk9copy/k9saveimage.cpp +++ b/libk9copy/k9saveimage.cpp @@ -76,7 +76,7 @@ void k9SaveImage::run() { TQString sFileName=m_tempFile->name(); m_image.save(sFileName,"PNG"); sFileName="\rINFOIMAGE:"+sFileName; - fprintf(stderr,"%s",sFileName.data()); + fprintf(stderr,"%s",sFileName.local8Bit()); m_mutex.unlock(); } |