From 69fb7f69e3f2b19de180e5f6af98c372d016f374 Mon Sep 17 00:00:00 2001 From: Marcus Wu Date: Wed, 31 Mar 2021 14:42:42 -0400 Subject: [PATCH] Fix syntax error --- BGMApp/BGMApp/BGMAppVolumesController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BGMApp/BGMApp/BGMAppVolumesController.mm b/BGMApp/BGMApp/BGMAppVolumesController.mm index f318c55..c7ea504 100644 --- a/BGMApp/BGMApp/BGMAppVolumesController.mm +++ b/BGMApp/BGMApp/BGMAppVolumesController.mm @@ -106,7 +106,7 @@ - (void) setVolumeAndPan:(BGMAppVolumeAndPan)volumeAndPan forApp:(NSRunningApplication*)app { [appVolumes setVolumeAndPan:volumeAndPan forApp:app]; - if (volumeAndPan.volume != -1 { + if (volumeAndPan.volume != -1) { [self setVolume:volumeAndPan.volume forAppWithProcessID:app.processIdentifier bundleID:app.bundleIdentifier]; } if (volumeAndPan.pan != INT_MIN) {