[vlc-commits] macosx: save the current volume in intended variable

David Fuhrmann git at videolan.org
Sun Jan 29 20:36:48 CET 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sun Jan 22 22:41:22 2012 +0100| [4a869d394f8e3423b3bbade4f96100723748d4b1] | committer: Felix Paul Kühne

macosx: save the current volume in intended variable

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a869d394f8e3423b3bbade4f96100723748d4b1
---

 modules/gui/macosx/MainWindow.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index da7c08a..4019e51 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -988,6 +988,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
     if( i_volume != i_lastShownVolume )
     {
+        i_lastShownVolume = i_volume;
         [o_volume_sld setIntValue: i_volume];
         [o_fspanel setVolumeLevel: i_volume];
     }



More information about the vlc-commits mailing list