[banshee] [SQLiteConvert] Fix some bad line endings



commit 5c02a12c8bd48e344f938df9bb7c4bbf17a23894
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Tue Feb 2 19:58:11 2010 +0100

    [SQLiteConvert] Fix some bad line endings
    
    Two line endings were CRLF, probably causing trouble with git on
    Windows.

 .../Mono.Data.Sqlite/SQLiteConvert.cs              |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Libraries/Mono.Data.Sqlite/Mono.Data.Sqlite/SQLiteConvert.cs b/src/Libraries/Mono.Data.Sqlite/Mono.Data.Sqlite/SQLiteConvert.cs
index deb6404..c168d44 100644
--- a/src/Libraries/Mono.Data.Sqlite/Mono.Data.Sqlite/SQLiteConvert.cs
+++ b/src/Libraries/Mono.Data.Sqlite/Mono.Data.Sqlite/SQLiteConvert.cs
@@ -231,15 +231,15 @@ namespace Mono.Data.Sqlite
       int len = 0;
       while (Marshal.ReadByte (nativestring, len) != 0)
         checked {++len;}
-
-      unsafe { 
+
+      unsafe { 
         string s = new string ((sbyte*) nativestring, 0, len, _utf8);
         len = s.Length;
         while (len > 0 && s [len-1] == 0)
           --len;
         if (len == s.Length)
           return s;
-        return s.Substring (0, len);
+        return s.Substring (0, len);
       }
     }
 



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