[vlc-devel] [PATCH 06/18] macosx: don't save default video profile
Victorien Le Couviour--Tuffet
victorien.lecouviour.tuffet at gmail.com
Tue Jul 4 10:01:05 CEST 2017
---
modules/gui/macosx/VLCVideoEffectsWindowController.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VLCVideoEffectsWindowController.m b/modules/gui/macosx/VLCVideoEffectsWindowController.m
index fb25640f87..2686f745e2 100644
--- a/modules/gui/macosx/VLCVideoEffectsWindowController.m
+++ b/modules/gui/macosx/VLCVideoEffectsWindowController.m
@@ -659,7 +659,7 @@
- (void)saveCurrentProfile
{
- if (i_old_profile_index == -1)
+ if (!i_old_profile_index || i_old_profile_index == -1)
return;
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
--
2.13.1
More information about the vlc-devel
mailing list