Explorar o código

tosunits: fix a bug in vsl_width

Thorsten Otto %!s(int64=3) %!d(string=hai) anos
pai
achega
704a5a5081
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/tosunits/src/vdi.pas

+ 1 - 1
packages/tosunits/src/vdi.pas

@@ -1673,7 +1673,7 @@ end;
 function vsl_width(handle, width: smallint): smallint;
 begin
   _ptsin[0]:=width;
-  _ptsin[0]:=0;
+  _ptsin[1]:=0;
 
   _contrl[0]:=16;
   _contrl[1]:=1;