Remove : from filename, it makes scp stupid

This commit is contained in:
Dave Davenport 2015-12-10 18:00:26 +01:00
parent ad77b9857a
commit bb39372dd3
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ static void menu_capture_screenshot ( void )
// Get current time.
GDateTime *now = g_date_time_new_now_local ();
// Format filename.
char *timestmp = g_date_time_format ( now, "rofi-%Y-%m-%d-%H:%M" );
char *timestmp = g_date_time_format ( now, "rofi-%Y-%m-%d-%H%M" );
char *filename = g_strdup_printf ( "%s.png", timestmp );
// Build full path
char *fpath = g_build_filename ( xdg_pict_dir, filename, NULL );