Kaynağa Gözat

tosunits: fix a bug in vsl_width

Thorsten Otto 3 yıl önce
ebeveyn
işleme
704a5a5081
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
 function vsl_width(handle, width: smallint): smallint;
 begin
 begin
   _ptsin[0]:=width;
   _ptsin[0]:=width;
-  _ptsin[0]:=0;
+  _ptsin[1]:=0;
 
 
   _contrl[0]:=16;
   _contrl[0]:=16;
   _contrl[1]:=1;
   _contrl[1]:=1;