Page 1 of 1

Calculator bug fix

Posted: Fri Oct 30, 2015 7:33 am
by nextvolume
Hi, the Visopsys calculator cannot compute square root and factorial numbers in 0.8_pre1
The following two one-line fixes will correct this:

Code: Select all

update_calculator_display((root = calc_result));
must become

Code: Select all

update_calculator_display((number_field = calc_result = root));
and

Code: Select all

update_calculator_display((calc_result = factresult));
must become

Code: Select all

update_calculator_display((number_field = calc_result = factresult));

Re: Calculator bug fix

Posted: Mon Nov 02, 2015 12:18 pm
by andymc
Thanks nextvolume.

Is this some new bug? Did I do that? I looked at a bunch of diffs but I think I only changed some formatting and window- and i18n-related things.

Any new programs to contribute?? :mrgreen: :mrgreen:

Andy