vlc | branch: master | David Fuhrmann <[email protected]> | 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 <[email protected]>

> 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];
     }

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to