From cfd27f88ed25194d744faaf5d7adf476fe6784cc Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 23 Mar 2008 01:26:12 -0500 Subject: [PATCH] Ensure that song dirtiness is cleared by 'new'. --- main.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.C b/main.C index 2982709..72c2600 100644 --- a/main.C +++ b/main.C @@ -72,7 +72,6 @@ void init_song ( void ) { song.filename = NULL; - song.dirty( false ); pattern_c->grid( NULL ); phrase_c->grid( NULL ); @@ -81,6 +80,8 @@ init_song ( void ) playlist->insert( 0, 1 ); pattern_c->grid( new pattern ); phrase_c->grid( new phrase ); + + song.dirty( false ); } void