Bug fix: -boot_image load_size="full" was not revoked by load_size=number and not reported by -status
This commit is contained in:
parent
c0e0449299
commit
362a17c571
@ -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",
|
||||
|
@ -1122,6 +1122,7 @@ interval_text_long:;
|
||||
{ret= 0; goto ex;}
|
||||
}
|
||||
xorriso->boot_image_load_size= num;
|
||||
xorriso->boot_img_full_size= 0;
|
||||
}
|
||||
xorriso->boot_img_size_default= 0;
|
||||
is_change= 1;
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2024.12.18.085148"
|
||||
#define Xorriso_timestamP "2024.12.20.154809"
|
||||
|
Loading…
Reference in New Issue
Block a user