diff options
-rw-r--r-- | gtk2_ardour/session_dialog.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 46a2e6be8d..00523d4a29 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -509,12 +509,12 @@ SessionDialog::new_session_button_clicked () get_vbox()->remove (ic_vbox); get_vbox()->pack_start (session_new_vbox, true, true); - time_t n; - time (&n); - struct tm* now = localtime (&n); - Glib::DateTime tm (Glib::DateTime::create_now_local (mktime (now))); + time_t n; + time (&n); + struct tm* now = localtime (&n); + Glib::DateTime tm (Glib::DateTime::create_now_local (mktime (now))); - new_name_entry.set_text (string_compose (_("Untitled-%1"), tm.format ("%F-%H-%M-%S"))); + new_name_entry.set_text (string_compose (_("Untitled-%1"), tm.format ("%F-%H-%M-%S"))); new_name_entry.select_region (0, -1); new_name_was_edited = false; |