Browse Source

* moved the assembler declaration in PutPixel320 and GetPixel320 to be on the same line as the procedure/function declaration

git-svn-id: trunk@41116 -
nickysn 6 years ago
parent
commit
6a1adc31fc
1 changed files with 2 additions and 4 deletions
  1. 2 4
      packages/graph/src/go32v2/graph.pp

+ 2 - 4
packages/graph/src/go32v2/graph.pp

@@ -2281,9 +2281,8 @@ End;
 
 
 
- Procedure PutPixel320(X,Y : smallint; Pixel: Word);
+ Procedure PutPixel320(X,Y : smallint; Pixel: Word); assembler;
  { x,y -> must be in local coordinates. Clipping if required. }
-  assembler;
   asm
       {# Var X located in register ax
        # Var Y located in register dx
@@ -2316,8 +2315,7 @@ End;
  end;
 
 
- Function GetPixel320(X,Y: smallint):word;
-  assembler;
+ Function GetPixel320(X,Y: smallint):word; assembler;
   asm
     {# Var X located in register ax
      # Var Y located in register dx }