Bug fix: -boot_image load_size="full" was not revoked by load_size=number and not reported by -status

This commit is contained in:
2024-12-20 16:48:48 +01:00
parent c0e0449299
commit 362a17c571
3 changed files with 4 additions and 3 deletions

View File

@ -494,9 +494,9 @@ int Xorriso_boot_item_status(struct XorrisO *xorriso, char *cat_path,
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso,filter,fp,flag&2);
if(flag & 32) {
if((flag & 32) || xorriso->boot_img_full_size) {
is_default= 0;
sprintf(line, "-boot_image %s load_size=full", form);
sprintf(line, "-boot_image %s load_size=full\n", form);
} else {
is_default= (load_size == 2048 || (flag & 4));
sprintf(line, "-boot_image %s load_size=%lu\n",