From fa61c5938c94559aa0ea86120d4b68cbfdf595d9 Mon Sep 17 00:00:00 2001 From: Jorg Schuler Date: Tue, 11 Oct 2005 16:12:04 +0000 Subject: * src/itdb_track.c: (itdb_track_add/itdb_track_set_defaults): set dbid if not set (thanks to Guilherme Salgado for pointing this out) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1117 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/itdb_playlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/itdb_playlist.c') diff --git a/src/itdb_playlist.c b/src/itdb_playlist.c index 4838377..b09bb81 100644 --- a/src/itdb_playlist.c +++ b/src/itdb_playlist.c @@ -1,4 +1,4 @@ -/* Time-stamp: <2005-10-02 18:56:09 jcs> +/* Time-stamp: <2005-10-12 01:04:25 jcs> | | Copyright (C) 2002-2005 Jorg Schuler | Part of the gtkpod project. @@ -1076,7 +1076,7 @@ void itdb_playlist_add (Itdb_iTunesDB *itdb, Itdb_Playlist *pl, gint32 pos) { id = ((guint64)g_rand_int (grand) << 32) | ((guint64)g_rand_int (grand)); - /* check if id is really random (with 100 playlists the + /* check if id is really unique (with 100 playlists the * chance to create a duplicate is 1 in * 184,467,440,737,095,516.16) */ for (gl=itdb->playlists; id && gl; gl=gl->next) -- cgit