diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index e31063a62..068ac2373 100755 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -975,7 +975,7 @@ SetDevices (LOADER_ENTRY *Entry) devprop_add_value(device, Prop2.Key.c_str(), gSettings.Graphics.EDID.CustomEDID.data(), 128); DBG(" Add key=%s from custom EDID\n", Prop2.Key.c_str()); } else { - devprop_add_value(device, Prop2.Key, Prop2.Value); + devprop_add_value(device, Prop2.Key.c_str(), Prop2.Value.data(), Prop2.Value.size()); DBG(" Add key=%s valuelen=%zu\n", Prop2.Key.c_str(), Prop2.Value.size()); } }else{