rhythmbox r6292 - in trunk: . rhythmdb



Author: hadess
Date: Tue Apr 14 17:03:49 2009
New Revision: 6292
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6292&view=rev

Log:
2009-04-14  Bastien Nocera  <hadess hadess net>

	* rhythmdb/rhythmdb-tree.c (rhythmdb_tree_parser_end_element):
	Fix typo that might have caused some DBs to not be upgraded properly



Modified:
   trunk/ChangeLog
   trunk/rhythmdb/rhythmdb-tree.c

Modified: trunk/rhythmdb/rhythmdb-tree.c
==============================================================================
--- trunk/rhythmdb/rhythmdb-tree.c	(original)
+++ trunk/rhythmdb/rhythmdb-tree.c	Tue Apr 14 17:03:49 2009
@@ -506,7 +506,7 @@
 		break;
 	case RHYTHMDB_TREE_PARSER_STATE_ENTRY:
 	{
-		if (!ctx->has_date | ctx->reload_all_metadata) {
+		if (!ctx->has_date || ctx->reload_all_metadata) {
 			/* there is no date metadata, so this is from an old version
 			 * reset the last-modified timestamp, so that the file is re-read
 			 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]