[vlc-commits] commit: MacOS: fix equalizer 170Hz issue (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Thu Sep 16 17:51:25 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 16 17:50:46 2010 +0200| [eef97c482956d6ce084886dc87f7fde90ceda5cd] | committer: Jean-Baptiste Kempf 

MacOS: fix equalizer 170Hz issue

Close #4177

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

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

diff --git a/modules/gui/macosx/equalizer.m b/modules/gui/macosx/equalizer.m
index 1809b1f..2606673 100644
--- a/modules/gui/macosx/equalizer.m
+++ b/modules/gui/macosx/equalizer.m
@@ -230,7 +230,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
         p_object = vlc_object_hold(pl_Get( p_intf ));
 
     const char *psz_values;
-    NSString *preset = [NSString stringWithFormat:@"%.1f", [o_slider_band1 floatValue] ];
+    NSString *preset = [NSString stringWithFormat:@"%.1f ", [o_slider_band1 floatValue] ];
     preset = [preset stringByAppendingFormat:@"%.1f ", [o_slider_band2 floatValue] ];
     preset = [preset stringByAppendingFormat:@"%.1f ", [o_slider_band3 floatValue] ];
     preset = [preset stringByAppendingFormat:@"%.1f ", [o_slider_band4 floatValue] ];



More information about the vlc-commits mailing list