vlc/vlc-2.0 | branch: master | David Fuhrmann <[email protected]> | 
Sun Jan 22 22:41:22 2012 +0100| [c6775ab91ad00b8e574cdd5936967d19a00b1ccd] | 
committer: Jean-Baptiste Kempf

macosx: save the current volume in intended variable

Signed-off-by: Felix Paul Kühne <[email protected]>
(cherry picked from commit 4a869d394f8e3423b3bbade4f96100723748d4b1)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 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 4c77aab..17ffef8 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