From 22a59653efa6de6b30a31661f6cbad9e6617f079 Mon Sep 17 00:00:00 2001 From: Dylan Whichard Date: Wed, 18 Sep 2024 21:12:00 -0700 Subject: [PATCH] Fix missing paren --- emulator/src/extensions/midi/ext_midi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator/src/extensions/midi/ext_midi.c b/emulator/src/extensions/midi/ext_midi.c index 36d867dfa..54c1fe105 100644 --- a/emulator/src/extensions/midi/ext_midi.c +++ b/emulator/src/extensions/midi/ext_midi.c @@ -129,7 +129,7 @@ static pascal OSErr handleOpenDocumentEvent(const AppleEvent* event, AppleEvent* CFStringRef docStringRef = CFURLCopyFileSystemPath(docUrlRef, kCFURLPOSIXPathStyle); if (docStringRef != NULL) { - if (CFStringGetFileSystemRepresentation(docStringRef, midiPathBuffer, sizeof(midiPathBuffer)) + if (CFStringGetFileSystemRepresentation(docStringRef, midiPathBuffer, sizeof(midiPathBuffer))) { printf("Successfully handled event?\n"); }