Browse code

fixes for ZNeK

Nat! authored on 30/06/2015 11:40:25
Showing 2 changed files
... ...
@@ -1,5 +1,7 @@
1 1
 .DS_Store
2 2
 *.o
3
+build/
4
+Build/
3 5
 mulle-plist-compress.xcodeproj/xcuserdata
4 6
 mulle-plist-compress.xcodeproj/project.xcworkspace
5 7
 mulle-plist-from-files.xcodeproj/xcuserdata
... ...
@@ -38,7 +38,7 @@ NSString *MullePlistWriterException = @"MullePlistWriterException";
38 38
 
39 39
 static inline char	hexit( unsigned char c)
40 40
 {
41
-   return( c > 10 ? 'A' - 10 + c : '0' + c);
41
+   return( c > 10 ? 'a' - 10 + c : '0' + c);
42 42
 }
43 43
 
44 44
 
... ...
@@ -65,7 +65,7 @@ static inline char	hexit( unsigned char c)
65 65
    {
66 66
       *hex++ = hexit( *s >> 4);
67 67
       *hex++ = hexit( *s & 0xF);
68
-      if( ! (++i & 0x7))
68
+      if( ! (++i & 0x3))
69 69
          *hex++ = ' ';
70 70
       s++;
71 71
    }