[vlc-devel] commit: wxwidget: fix #2444 (I just don't want to leave on stupid bug open) ( Rémi Duraffort )

git version control git at videolan.org
Mon Jan 26 21:26:50 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jan 26 21:05:10 2009 +0100| [49cf899b0f3f010121a85ad723a8af8fdf799882] | committer: Rémi Duraffort 

wxwidget: fix #2444 (I just don't want to leave on stupid bug open)

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

 modules/gui/wxwidgets/extrapanel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/wxwidgets/extrapanel.cpp b/modules/gui/wxwidgets/extrapanel.cpp
index deb1464..9982f5f 100644
--- a/modules/gui/wxwidgets/extrapanel.cpp
+++ b/modules/gui/wxwidgets/extrapanel.cpp
@@ -799,7 +799,7 @@ void ExtraPanel::OnChangeEqualizer( wxScrollEvent &event )
     {
         char psz_val[5];
         float f_val = (float)( 400 - band_sliders[i]->GetValue() ) / 10- 20 ;
-        sprintf( psz_values, "%s %f", psz_values, f_val );
+        sprintf( psz_values + strlen( psz_value ), " %f", f_val );
         sprintf( psz_val, "%.1f", f_val );
         band_texts[i]->SetLabel( band_frequencies[i] + wxT("\n") +
                         wxU( psz_val ) + wxT("dB" ) );




More information about the vlc-devel mailing list