From cb8f96a33c9ee5b2bebbdd2b9360ebca321e5cb4 Mon Sep 17 00:00:00 2001 From: nickysn Date: Sun, 16 Nov 2014 15:25:56 +0000 Subject: [PATCH] * 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 - --- ide/fpusrscr.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/fpusrscr.pas b/ide/fpusrscr.pas index 344ef28e3c..73433cdc13 100644 --- a/ide/fpusrscr.pas +++ b/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);