banshee r3120 - in branches/banshee/stable: . src/Core/Banshee.Base/Dap



Author: gburt
Date: Thu Jan 31 08:07:28 2008
New Revision: 3120
URL: http://svn.gnome.org/viewvc/banshee?rev=3120&view=rev

Log:
2008-01-31  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.Base/Dap/Dap.cs: Actually fix it (hopefully..)


Modified:
   branches/banshee/stable/ChangeLog
   branches/banshee/stable/src/Core/Banshee.Base/Dap/Dap.cs

Modified: branches/banshee/stable/src/Core/Banshee.Base/Dap/Dap.cs
==============================================================================
--- branches/banshee/stable/src/Core/Banshee.Base/Dap/Dap.cs	(original)
+++ branches/banshee/stable/src/Core/Banshee.Base/Dap/Dap.cs	Thu Jan 31 08:07:28 2008
@@ -723,7 +723,7 @@
             }
 
             if (device.PropertyExists ("portable_audio_player.access_method.protocols")) {
-                if (Array.IndexOf (device.GetPropertyStringList ("portable_audio_player.access_method.protocols"), type) > 0) {
+                if (Array.IndexOf (device.GetPropertyStringList ("portable_audio_player.access_method.protocols"), type) != -1) {
                     return true;
                 }
             }



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