瀏覽代碼

Small fixes

Brian Fiete 6 年之前
父節點
當前提交
6e407b8b58

+ 2 - 2
BeefLibs/corlib/src/System/Diagnostics/AsyncStreamReader.bf

@@ -55,7 +55,7 @@ namespace System.Diagnostics
 
 		// Creates a new AsyncStreamReader for the given stream.  The 
 		// character encoding is set by encoding and the buffer size, 
-		// in number of 16-bit char8acters, is set by bufferSize.  
+		// in number of 16-bit characters, is set by bufferSize.  
 		//
 		internal this(Process process, Stream stream, UserCallBack callback, Encoding encoding, int32 bufferSize)
 		{
@@ -181,7 +181,7 @@ namespace System.Diagnostics
 
 
 		// Read lines stored in StringBuilder and the buffer we just read into. 
-		// A line is defined as a sequence of char8acters followed by
+		// A line is defined as a sequence of characters followed by
 		// a carriage return ('\r'), a line feed ('\n'), or a carriage return
 		// immediately followed by a line feed. The resulting string does not
 		// contain the terminating carriage return and/or line feed. The returned

+ 1 - 1
BeefLibs/corlib/src/System/IO/StreamReader.bf

@@ -495,7 +495,7 @@ namespace System.IO
 			return byteLength;
 		}
 
-		// Reads a line. A line is defined as a sequence of char8acters followed by
+		// Reads a line. A line is defined as a sequence of characters followed by
         // a carriage return ('\r'), a line feed ('\n'), or a carriage return
         // immediately followed by a line feed. The resulting string does not
         // contain the terminating carriage return and/or line feed. The returned

+ 1 - 1
BeefLibs/corlib/src/System/String.bf

@@ -663,7 +663,7 @@ namespace System
 			mAllocSizeAndFlags = cStrPtrFlag;
 		}
 
-		// This is a fast way to remove char8acters are the beginning of a string, but only works for strings
+		// This is a fast way to remove characters are the beginning of a string, but only works for strings
 		//  that are not dynamically allocated.  Mostly useful for parsing through Referenced strings quickly.
 		public void AdjustPtr(int adjBytes)
 		{

+ 1 - 1
BeefLibs/corlib/src/System/Windows.bf

@@ -1295,7 +1295,7 @@ namespace System
 
 			//if (handle.IsInvalid)
             return handle;
-        }            
+        }
 	}
 }