From 1da2b3ed5c8c10ae7e3a75411bf4d49f2c6a9b63 Mon Sep 17 00:00:00 2001 From: Jerome Martinez Date: Fri, 23 Jun 2023 22:23:35 +0200 Subject: [PATCH] GUI: Add Conformance glossary button, update Just a name change --- Source/GUI/Cocoa/oMediaInfoList.mm | 2 +- Source/GUI/VCL/GUI_Main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/GUI/Cocoa/oMediaInfoList.mm b/Source/GUI/Cocoa/oMediaInfoList.mm index 01ea265f0..0857780fc 100644 --- a/Source/GUI/Cocoa/oMediaInfoList.mm +++ b/Source/GUI/Cocoa/oMediaInfoList.mm @@ -255,7 +255,7 @@ - (NSString*)generalTagsAtIndex:(NSUInteger)index limit:(NSUInteger)limit { - (NSString*)getConformanceURLForIndex:(NSUInteger)index { NSString *oldInform = [NSString stringFromWCHAR: MediaInfoList_Option(MIL, [@"Inform_Get" WCHARString], [@"" WCHARString])]; - MediaInfoList_Option(MIL, [@"Inform" WCHARString], [@"JSON_URL" WCHARString]); + MediaInfoList_Option(MIL, [@"Inform" WCHARString], [@"Conformance_JSON" WCHARString]); NSString *URL = [NSString stringFromWCHAR: MediaInfoList_Inform(MIL, index, -1)]; MediaInfoList_Option(MIL, [@"Inform" WCHARString], [oldInform WCHARString]); diff --git a/Source/GUI/VCL/GUI_Main.cpp b/Source/GUI/VCL/GUI_Main.cpp index 6a2cf77ac..8dc2d9d60 100644 --- a/Source/GUI/VCL/GUI_Main.cpp +++ b/Source/GUI/VCL/GUI_Main.cpp @@ -1952,7 +1952,7 @@ void __fastcall TMainF::M_SponsorClick(TObject *Sender) void __fastcall TMainF::Footer_ButtonClick(TObject *Sender) { const Ztring Inform_Save=I->Option(__T("Inform_Get"), __T("")); - I->Option(__T("Inform"), __T("JSON_URL")); + I->Option(__T("Inform"), __T("Conformance_JSON")); const Ztring URL=I->Inform(); I->Option(__T("Inform"), Inform_Save);