Sfoglia il codice sorgente

Clean up white space.

Yao Wei Tjong 姚伟忠 6 anni fa
parent
commit
bea90775a9
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      Source/Urho3D/IO/MemoryBuffer.cpp
  2. 1 1
      Source/Urho3D/IO/VectorBuffer.cpp

+ 1 - 1
Source/Urho3D/IO/MemoryBuffer.cpp

@@ -110,7 +110,7 @@ unsigned MemoryBuffer::Write(const void* data, unsigned size)
     unsigned char* destPtr = &buffer_[position_];
     position_ += size;
 
-	memcpy(destPtr, srcPtr, size);
+    memcpy(destPtr, srcPtr, size);
 
     return size;
 }

+ 1 - 1
Source/Urho3D/IO/VectorBuffer.cpp

@@ -99,7 +99,7 @@ unsigned VectorBuffer::Write(const void* data, unsigned size)
     unsigned char* destPtr = &buffer_[position_];
     position_ += size;
 
-	memcpy(destPtr, srcPtr, size);
+    memcpy(destPtr, srcPtr, size);
 
     return size;
 }