[vlc-commits] macosx: don't save default video profile
Victorien Le Couviour--Tuffet
git at videolan.org
Thu Jul 13 11:25:27 CEST 2017
vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Sun Jul 2 15:19:26 2017 +0200| [d7d74cd85f80b4cf97b5d21a88fb093f31c5da6b] | committer: Jean-Baptiste Kempf
macosx: don't save default video profile
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d7d74cd85f80b4cf97b5d21a88fb093f31c5da6b
---
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];
More information about the vlc-commits
mailing list