X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/9d2bca1f897628eaed87c733670f82ddb96b8c01..64005e4a670ae074eea1980c5eca131748884ec0:/wcore.pas?ds=inline diff --git a/wcore.pas b/wcore.pas old mode 100755 new mode 100644 index e79fc10..2c07d50 --- a/wcore.pas +++ b/wcore.pas @@ -34,7 +34,7 @@ interface initialdone:boolean; prevtimer:tltimer; nexttimer:tltimer; - interval:integer; {miliseconds, default 1000} + interval:integer; {milliseconds, default 1000} nextts:integer; property enabled:boolean read fenabled write setenabled; constructor create(aowner:tcomponent);override; @@ -79,7 +79,7 @@ const var hwndwcore:hwnd; firsttimer:tltimer; - timesubstract:integer; + timesubtract:integer; firsttask,lasttask,currenttask:tltask; procedure tlcomponent.release; @@ -144,13 +144,13 @@ begin end; tvnow := timegettime; - if (tvnow and ((-1) shl rollover_bits)) <> timesubstract then begin + if (tvnow and ((-1) shl rollover_bits)) <> timesubtract then begin currenttimer := firsttimer; while assigned(currenttimer) do begin dec(currenttimer.nextts,(1 shl rollover_bits)); currenttimer := currenttimer.nexttimer; end; - timesubstract := tvnow and ((-1) shl rollover_bits); + timesubtract := tvnow and ((-1) shl rollover_bits); end; tvnow := tvnow and ((1 shl rollover_bits)-1); @@ -217,7 +217,7 @@ begin end else begin currenttasklocal := currenttask; //needed in case called from a task end; - // note i don't bother to sestroy the links here as that will happen when + // note i don't bother to destroy the links here as that will happen when // the list of tasks is processed anyway while assigned(currenttasklocal) do begin if currenttasklocal.obj = aobj then begin