Explorar o código

oops better really to the upper case version

UbitUmarov %!s(int64=3) %!d(string=hai) anos
pai
achega
f79ebcc10f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      OpenSim/Framework/Util.cs

+ 2 - 2
OpenSim/Framework/Util.cs

@@ -1155,14 +1155,14 @@ namespace OpenSim.Framework
         public static char LowNibbleToHexByteCharHighcaps(byte b)
         {
             b &= 0x0f;
-            return (char)(b > 9 ? b + 0x57 : b + '0');
+            return (char)(b > 9 ? b + 0x37 : b + '0');
         }
 
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static char HighNibbleToHexByteCharHighcaps(byte b)
         {
             b >>= 4;
-            return (char)(b > 9 ? b + 0x57 : b + '0');
+            return (char)(b > 9 ? b + 0x37 : b + '0');
         }
 
         public static string bytesToHexString(byte[] bytes, bool lowerCaps)