update about menu

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2020-03-12 12:09:33 +03:00
parent 8541a85391
commit 8d75c1909e
2 changed files with 5 additions and 3 deletions

View File

@ -621,9 +621,9 @@ void nsvg__deleteParser(NSVGparser* p)
attr->fontFace = NULL; attr->fontFace = NULL;
} }
while (attr->group) { while (attr->group) {
NSVGgroup* group = attr->group; NSVGgroup* group = attr->group->next;
FreePool(attr->group); FreePool(attr->group);
attr->group = group->next; attr->group = group;
} }
} }
FreePool(p); FreePool(p);

View File

@ -1392,10 +1392,12 @@ VOID AboutRefit(VOID)
AboutMenu.AddMenuInfo(L" Platform: i386 (32 bit)"); AboutMenu.AddMenuInfo(L" Platform: i386 (32 bit)");
#elif defined(MDE_CPU_X64) #elif defined(MDE_CPU_X64)
AboutMenu.AddMenuInfo(L" Platform: x86_64 (64 bit)"); AboutMenu.AddMenuInfo(L" Platform: x86_64 (64 bit)");
#elif defined(_MSC_VER)
AboutMenu.AddMenuInfo(L" Platform: x86_64 (64 bit) VS");
#else #else
AboutMenu.AddMenuInfo(L" Platform: unknown"); AboutMenu.AddMenuInfo(L" Platform: unknown");
#endif #endif
AboutMenu.AddMenuInfo(PoolPrint(L" Firmware: %s rev %d.%d", gST->FirmwareVendor, gST->FirmwareRevision >> 16, gST->FirmwareRevision & ((1 << 16) - 1))); AboutMenu.AddMenuInfo(PoolPrint(L" Firmware: %s rev %d.%04d", gST->FirmwareVendor, gST->FirmwareRevision >> 16, gST->FirmwareRevision & ((1 << 16) - 1)));
AboutMenu.AddMenuInfo(PoolPrint(L" Screen Output: %s", egScreenDescription())); AboutMenu.AddMenuInfo(PoolPrint(L" Screen Output: %s", egScreenDescription()));
AboutMenu.AnimeRun = AboutMenu.GetAnime(); AboutMenu.AnimeRun = AboutMenu.GetAnime();
AboutMenu.AddMenuEntry(&MenuEntryReturn, false); AboutMenu.AddMenuEntry(&MenuEntryReturn, false);