mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2018-08-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in 'RDWaveFile' that caused corruption of UTF-8 strings in RDXL chunks.
This commit is contained in:
@@ -1130,12 +1130,14 @@ MainObject::Result MainObject::ImportFile(const QString &filename,
|
||||
if(import_string_title.isNull()) {
|
||||
printf(" Importing file \"%s\" [%s] to cart %06u ... ",
|
||||
(const char *)RDGetBasePart(filename).utf8(),
|
||||
(const char *)wavedata->title().stripWhiteSpace(),*cartnum);
|
||||
(const char *)wavedata->title().stripWhiteSpace().utf8(),
|
||||
*cartnum);
|
||||
}
|
||||
else {
|
||||
printf(" Importing file \"%s\" [%s] to cart %06u ... ",
|
||||
(const char *)RDGetBasePart(filename).utf8(),
|
||||
(const char *)import_string_title.stripWhiteSpace(),*cartnum);
|
||||
(const char *)import_string_title.stripWhiteSpace().utf8(),
|
||||
*cartnum);
|
||||
}
|
||||
}
|
||||
fflush(stdout);
|
||||
|
Reference in New Issue
Block a user