浏览代码

* TextMode parameter type changed temporarily not to break other platforms

Tomas Hajny 20 年之前
父节点
当前提交
7be6c68518
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      rtl/inc/crt.inc

+ 6 - 3
rtl/inc/crt.inc

@@ -108,12 +108,12 @@ begin
 end;
 end;
 
 
 
 
-procedure TextMode (Mode: word);
+procedure TextMode (Mode: integer);
 { Use this procedure to set-up a specific text-mode.}
 { Use this procedure to set-up a specific text-mode.}
 begin
 begin
  TextAttr := $07;
  TextAttr := $07;
  LastMode := Mode;
  LastMode := Mode;
- SetScreenMode (Mode);
+ SetScreenMode (word (Mode));
  WindMin := 0;
  WindMin := 0;
  WindMaxX := Pred (ScreenWidth);
  WindMaxX := Pred (ScreenWidth);
  WindMaxY := Pred (ScreenHeight);
  WindMaxY := Pred (ScreenHeight);
@@ -410,7 +410,10 @@ end;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.1  2005-05-14 14:32:55  hajny
+  Revision 1.2  2005-05-14 14:58:41  hajny
+    * TextMode parameter type changed temporarily not to break other platforms
+
+  Revision 1.1  2005/05/14 14:32:55  hajny
     + basis for common platform independent implementation of Crt
     + basis for common platform independent implementation of Crt