소스 검색

* TDOSScreen.ConsoleGraphDriver and .ConsoleGraphMode changed to smallint, so they can be passed as var parameters to InitGraph. This fixes compilation with USE_GRAPH_SWITCH enabled

git-svn-id: trunk@29079 -
nickysn 11 년 전
부모
커밋
cb8f96a33c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ide/fpusrscr.pas

+ 1 - 1
ide/fpusrscr.pas

@@ -184,7 +184,7 @@ type
       GraphModeName : string;
       GraphXres,GraphYres : longint;
       GraphBuffer : pointer;
-      ConsoleGraphDriver, ConsoleGraphMode : word;
+      ConsoleGraphDriver, ConsoleGraphMode : smallint;
 {$endif USE_GRAPH_SWITCH}
       function    GetLineStartOfs(Line: integer): word;
       procedure   GetBuffer(Size: word);