浏览代码

minor: typos in comments

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6741 8c9fc860-2736-0410-a75d-ab315db34111
eth.hunzikerp 9 年之前
父节点
当前提交
a34d078d76
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 3 1
      source/ComponentInfo.Mod
  2. 1 1
      source/WMEvents.Mod

+ 3 - 1
source/ComponentInfo.Mod

@@ -56,7 +56,7 @@ TYPE
 			out.String("   Color: "); out.Int(nofColorProperties, 0); out.Ln;
 			out.String("   Rectangle: "); out.Int(nofRectangleProperties, 0); out.Ln;
 			out.String("   String: "); out.Int(nofStringProperties, 0); out.Ln;
-			out.String("   Ohter: "); out.Int(nofOtherProperties, 0); out.Ln;
+			out.String("   Other: "); out.Int(nofOtherProperties, 0); out.Ln;
 		END Show;
 
 	END Statistics;
@@ -267,4 +267,6 @@ SystemTools.Free ComponentInfo ~
 
 ComponentInfo.ShowStatistics * ~
 
+ComponentInfo.ShowStatistics File* ~
+
 ComponentInfo.ShowPrototypes ~

+ 1 - 1
source/WMEvents.Mod

@@ -62,7 +62,7 @@ TYPE
 
 		(** Add an listener to this event. The listener is found by findig the component referenced in the string and then
 			querying the component for the listener. Listeners can be added more then once.
-			The dereferencing is done on demant at the first call. If the EventListener can not be found, the call to the
+			The dereferencing is done on demand at the first call. If the EventListener can not be found, the call to the
 			respective listener is ignored. On each call, the EventListener is searched again *)
 		PROCEDURE AddByString*(link : String);
 		VAR new : EventListenerLink;