Skip to content

Commit

Permalink
Merge pull request #736 from JeromeMartinez/Conformance_JSON
Browse files Browse the repository at this point in the history
GUI: Add Conformance glossary button, update
  • Loading branch information
JeromeMartinez authored Jun 23, 2023
2 parents b6f56db + 1da2b3e commit 0adcbaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/GUI/Cocoa/oMediaInfoList.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion Source/GUI/VCL/GUI_Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0adcbaa

Please sign in to comment.