Fix attempt data rescue fail to open read-only view (#673246)

Dialog_Rescue_Data::on_view_clicked(): String::ucompose() no longer
used due to a bug with some locales.
This commit is contained in:
Joan Lledó 2012-04-03 20:16:54 +02:00 committed by Curtis Gedak
parent a5242a28f4
commit e494eca1f7
1 changed files with 2 additions and 1 deletions

View File

@ -182,7 +182,8 @@ void Dialog_Rescue_Data::on_view_clicked(int nPart)
Glib::ustring mountPoint=tmpDir;
Glib::ustring commandLine= String::ucompose("mount -o ro,loop,offset=%1,sizelimit=%2 %3 %4", initOffset, totalSize, this->device_path, mountPoint);
Glib::ustring commandLine= "mount -o ro,loop,offset="+Utils::num_to_str(initOffset)
+",sizelimit="+Utils::num_to_str(totalSize)+" "+this->device_path+" "+mountPoint;
int mountResult=Utils::execute_command(commandLine);