[iso] fix Fedora UEFI support

* One of the ANNOYING distros that relies on an extended label to
  find the install media and is now doing that for Grub/EFI.
* Closes #547
This commit is contained in:
Pete Batard 2015-08-13 23:31:12 +01:00
parent 29588ac684
commit ab6f0ef0bb
3 changed files with 35 additions and 28 deletions

View file

@ -1145,8 +1145,8 @@ char* replace_in_token_data(const char* filename, const char* token, const char*
break;
}
fseek(fd_in, 0, SEEK_SET);
duprintf("'%s' was detected as %s\n", filename,
(mode==0)?"ANSI/UTF8 (no BOM)":((mode==1)?"UTF8 (with BOM)":"UTF16 (with BOM"));
// duprintf("'%s' was detected as %s\n", filename,
// (mode==0)?"ANSI/UTF8 (no BOM)":((mode==1)?"UTF8 (with BOM)":"UTF16 (with BOM"));
wtmpname = (wchar_t*)calloc(wcslen(wfilename)+2, sizeof(wchar_t));