From 3684ef21a1fadd65649eeb155073d9a872df1291 Mon Sep 17 00:00:00 2001 From: jief666 Date: Sun, 23 Aug 2020 14:19:49 +0300 Subject: [PATCH] wrong return value in TagStruct::getTypeAsXString8() --- rEFIt_UEFI/Platform/plist.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rEFIt_UEFI/Platform/plist.h b/rEFIt_UEFI/Platform/plist.h index 0b5951f05..87595231d 100644 --- a/rEFIt_UEFI/Platform/plist.h +++ b/rEFIt_UEFI/Platform/plist.h @@ -77,14 +77,14 @@ public: const XString8 getTypeAsXString8() const { if ( isDict() ) return "Dict"_XS8; - if ( isKey() ) return "Dict"_XS8; - if ( isString() ) return "Dict"_XS8; - if ( isInt() ) return "Dict"_XS8; - if ( isFloat() ) return "Dict"_XS8; - if ( isBool() ) return "Dict"_XS8; - if ( isData() ) return "Dict"_XS8; - if ( isDate() ) return "Dict"_XS8; - if ( isArray() ) return "Dict"_XS8; + if ( isKey() ) return "Key"_XS8; + if ( isString() ) return "String"_XS8; + if ( isInt() ) return "Int"_XS8; + if ( isFloat() ) return "Float"_XS8; + if ( isBool() ) return "Bool"_XS8; + if ( isData() ) return "Data"_XS8; + if ( isDate() ) return "Date"_XS8; + if ( isArray() ) return "Array"_XS8; panic("Unknown type %lld : this is bug", type); }