[Lazarus] Laz commit for SpinEdit overflow fix

Alexey aaa5500 at ya.ru
Fri Dec 8 10:57:14 CET 2017


- FIncrement := AIncrement;

+ if AIncrement > 0 then

+ FIncrement := AIncrement

+ else

+ FIncrement := -AIncrement;


better: FIncrement := Abs(AIncrement);

-- 
Regards,
Alexey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171208/8e8847d4/attachment.html>


More information about the Lazarus mailing list