Fix syntax error

This commit is contained in:
Marcus Wu 2021-03-31 14:42:42 -04:00
parent e9e13a3056
commit 69fb7f69e3

View file

@ -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) {