freebsd-ports/audio/midimountain/files/patch-midimountain::mvcSongProperties.cpp
Sergey A. Osokin 16f561d9dc Fix building under -CURRENT (gcc 3.3)
Submitted by:	Simon Barner <barner@in.tum.de>
2003-07-24 15:29:03 +00:00

19 lines
643 B
C++

--- midimountain/mvcSongProperties.cpp.orig Tue Jul 22 04:23:32 2003
+++ midimountain/mvcSongProperties.cpp Tue Jul 22 04:25:22 2003
@@ -42,7 +42,8 @@
//=============================================================================
void TMvcSongProperties::SetData( void )
{
- int* tmpInt = new int = 0;
+ int* tmpInt = new int;
+ *tmpInt = 0;
gtk_editable_insert_text( GTK_EDITABLE( FindWidget( "txtName" )),
fSequence->GetSequenceName(),
@@ -111,4 +112,4 @@
void CancelClickedSongProp( GtkButton *button, gpointer user_data )
{
gtk_widget_hide( ((TMvcSongProperties*)user_data)->GetWidget() );
-}
\ No newline at end of file
+}