banshee r3091 - in branches/banshee/stable: . src/Dap/Banshee.Dap.Mtp



Author: alanmc
Date: Wed Jan 30 00:35:43 2008
New Revision: 3091
URL: http://svn.gnome.org/viewvc/banshee?rev=3091&view=rev

Log:
Fixed issue comparing serial numbers

Modified:
   branches/banshee/stable/ChangeLog
   branches/banshee/stable/src/Dap/Banshee.Dap.Mtp/MtpDap.cs

Modified: branches/banshee/stable/src/Dap/Banshee.Dap.Mtp/MtpDap.cs
==============================================================================
--- branches/banshee/stable/src/Dap/Banshee.Dap.Mtp/MtpDap.cs	(original)
+++ branches/banshee/stable/src/Dap/Banshee.Dap.Mtp/MtpDap.cs	Wed Jan 30 00:35:43 2008
@@ -131,7 +131,7 @@
             } else {
                 string mtp_serial = devices[0].SerialNumber;
                 if (!String.IsNullOrEmpty (mtp_serial) && !String.IsNullOrEmpty (serial)) {
-                    if (mtp_serial.StartsWith (serial)) {
+                    if (mtp_serial.Contains (serial)) {
                         device_found = true;
                         device = devices[0];
                         mtp_dap = this;



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