Made use of Text_shellsafe bit1 for messages with two file names

This commit is contained in:
2011-05-06 13:20:36 +00:00
parent af8b7aafb9
commit 1e4945f483
5 changed files with 8 additions and 8 deletions

View File

@@ -1617,7 +1617,7 @@ int Xorriso_rename(struct XorrisO *xorriso, void *boss_iter,
sprintf(xorriso->info_text, "May not rename ");
Text_shellsafe(eff_origin, xorriso->info_text, 1);
strcat(xorriso->info_text, " to its own sub address ");
Text_shellsafe(eff_dest, xorriso->info_text, 1);
Text_shellsafe(eff_dest, xorriso->info_text, 1 | 2);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
{ret= 0; goto ex;}
}
@@ -1809,7 +1809,7 @@ int Xorriso_clone_tree(struct XorrisO *xorriso, void *boss_iter,
strcpy(xorriso->info_text, "Cloned in ISO image: ");
Text_shellsafe(eff_origin, xorriso->info_text, 1);
strcat(xorriso->info_text, " to ");
Text_shellsafe(eff_dest, xorriso->info_text, 1);
Text_shellsafe(eff_dest, xorriso->info_text, 1 | 2);
strcat(xorriso->info_text, "\n");
Xorriso_info(xorriso, 0);
}