diff --git a/ChangeLog b/ChangeLog index 5dfaffb473..4e9a1ac8b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-01 Derek Atkins + + * src/gnome/dialog-scheduledxaction.c: Move variable declaration + to the top of the block. + 2004-03-31 Derek Atkins * configure.in: move m4/Makefile to its own line diff --git a/src/gnome/dialog-scheduledxaction.c b/src/gnome/dialog-scheduledxaction.c index 400a846d43..cdd2eeb6db 100644 --- a/src/gnome/dialog-scheduledxaction.c +++ b/src/gnome/dialog-scheduledxaction.c @@ -1057,11 +1057,12 @@ gnc_sxed_save_sx( SchedXactionEditorDialog *sxed ) { FreqSpec *fs; GDate gdate; + GString *str; fs = xaccSchedXactionGetFreqSpec( sxed->sx ); gnc_frequency_save_state( sxed->gncfreq, fs, &gdate ); - GString *str = g_string_new( "" ); + str = g_string_new( "" ); xaccFreqSpecGetFreqStr( fs, str ); DEBUG( "fs: %s", str->str );