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

@ -889,7 +889,7 @@ int Xorriso_lsx_filev(struct XorrisO *xorriso, char *wd,
if(link_target[0]) {
Text_shellsafe(filev[i], xorriso->result_line, 1);
strcat(xorriso->result_line, " -> ");
Text_shellsafe(link_target, xorriso->result_line, 1);
Text_shellsafe(link_target, xorriso->result_line, 1 | 2);
} else {
Text_shellsafe(filev[i], xorriso->result_line, 1);
}
@ -1710,7 +1710,7 @@ int Xorriso_restore_make_hl(struct XorrisO *xorriso,
sprintf(xorriso->info_text, "Hardlinking failed: ");
Text_shellsafe(new_path, xorriso->info_text, 1);
strcat(xorriso->info_text, " -> ");
Text_shellsafe(old_path, xorriso->info_text, 1);
Text_shellsafe(old_path, xorriso->info_text, 1 | 2);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, errno, "WARNING", 0);
return(0);
}