Fixed a bug in yet unused code which was introduced by rev 965.

This commit is contained in:
Thomas Schmitt 2012-05-26 23:17:59 +02:00
parent bc7e8acb74
commit 3e2479c095
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ int iso_image_hfsplus_bless(IsoImage *img, enum IsoHfsplusBlessings blessing,
if (flag & 1) {
/* Delete a particular blessing */
if (img->hfsplus_blessed[blessing] == node || node == NULL) {
unset_blessing(img, i);
unset_blessing(img, (unsigned int) blessing);
return 1;
}
return 0;